Hi Guys and Girls,

I am have the below proxy.pac in place.

I am seeing local hosts being accessed via the proxy when the user
*just* a hostname in. I want these hosts accessed directly, except for
exceptions below (www,gw,mail).

If they put a FQDN in, then it works fine. Can anyone spot the problem

function FindProxyForURL(url, host)
if ((isPlainHostName(host) ||
dnsDomainIs(host, ".mycompany.com.au")) &&
!localHostOrDomainIs(host, "www.mycompany.com.au") &&
!localHostOrDomainIs(host, "gw.mycompany.com.au") &&
!localHostOrDomainIs(host, "mail.mycompany.com.au"))
return "DIRECT";
return "PROXY proxy:8080";