Hi,
on our 2.2rc1 test install we had strange behaviour with the web proxy.
After some investigation we found that at least FF2 and FF3 (probably
all Mozilla-based browsers) cannot parse 'isInNet("www.google.com",
"10.0.0.0", "12")'. Only 'isInNet("www.google.com", "10.0.0.0",
"255.240.0.0")' works as expected (verified with Google's pactester).
So I suggest the attached simple patch to /home/httpd/html/proxy.pac.
Franz
--- /home/httpd/html/proxy.pac.org 2008-05-09 16:43:20.000000000 +0200
+++ /home/httpd/html/proxy.pac 2008-05-19 10:22:30.000000000 +0200
@@ -76,6 +76,7 @@
foreach my $net (split(/,/, $zone_nets)) {
my ($netaddr, $netmask) = ipv4_network($net);
+ my $netmask = ipv4_cidr2msk($netmask);
print <<END
else if (isInNet(host, "$netaddr", "$netmask"))
return "DIRECT";
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user