Fixded localhost webservers are directed to the proxy if auto

configuration is used.

Fixes bug #770
This commit is contained in:
Christian Schmidt
2011-04-02 14:32:31 +02:00
parent 5330a07cb2
commit e3341bc216
2 changed files with 2 additions and 0 deletions

View File

@@ -1 +1,2 @@
etc/system-release
srv/web/ipfire/cgi-bin/proxy.cgi

View File

@@ -2924,6 +2924,7 @@ sub writepacfile
if (
(isPlainHostName(host)) ||
(dnsDomainIs(host, ".$mainsettings{'DOMAINNAME'}")) ||
(isInNet(host, "127.0.0.1", "255.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")) ||