Browser not parsing PAC file properly?
Posted
by
mfinni
on Server Fault
See other posts from Server Fault
or by mfinni
Published on 2013-11-07T21:52:10Z
Indexed on
2013/11/07
21:58 UTC
Read the original article
Hit count: 264
I have a long PAC file. The browser(s) (IE and Chrome) are configured to use it and it generally does what it says on the tin. I have a domain that continues to go through the proxy although it should be going direct.
// Match specific hosts and IPs entered as hosts
if (buncha stuff ||
shExpMatch(host,"(*.newmarketinc.com)") ||
shExpMatch(host,"(newmarketinc.com)") ||
buncha stuff
)
return "DIRECT";
Pactester shows that anything in the domain should be direct.
h:\pacparser\pactester.exe -p h:\pacfile -u http://daas.newmarketinc.com
DIRECT
But we continue to pass traffic to hosts in this domain via the proxy. Wireshark and Fiddler both show this.
How do i figure out how my browser has gotten brain-damage? Traffic to other sites in this stanza does properly go direct, as confirmed by Fiddler and Wireshark.
© Server Fault or respective owner