On Wed, 7 Sep 2011 13:11:10 +0200 richard lucassen <spamt...@xaq.nl> wrote:
> Removing the "var" statements "resolves" the problem, this proxy.pac > works fine: > > function FindProxyForURL(url, host) > { > ipaddr = dnsResolve(host); > > if ( > (shExpMatch(ipaddr, "*:*")) || > (isInNet(host, "127.0.0.0", "255.0.0.0")) || > (isInNet(host, "10.0.0.0", "255.0.0.0")) || > (isInNet(host, "172.16.0.0", "255.240.0.0")) || > (isInNet(host, "192.168.0.0", "255.255.0.0")) || > (isInNet(host, "62.112.236.0", "255.255.252.0")) > ) > { return DIRECT; } > > else > { return PROXY 192.168.64.1:3128; } > } No, this is not a workaround, the line: { return PROXY 192.168.64.1:3128; } is wrong, this must be: { return "PROXY 192.168.64.1:3128"; } Then the problem reappears unfortunately. R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org