Comment #16 on issue 271 by henri.koskenranta: Doesn't detect proxy  
settings from automatic configuration scripts
http://code.google.com/p/chromium/issues/detail?id=271

Here's the proxy.pac:

function FindProxyForURL(url, host)
{
     if ((host == "some.host.com") ||
         (host == "some1.host.com")){
         return "PROXY ip1:port1";
        }

     // Network
     if  ( isPlainHostName(host) ||
         localHostOrDomainIs ( host, "127.0.0.1") ||
        (host == "another.host2.com") ||
        (host == "something.host2.com") ||
        ...long list of hosts... ||
         dnsDomainIs ( host, ".host.com" ) &&
         !localHostOrDomainIs ( host, "some2.host.com") &&
         !localHostOrDomainIs ( host, "some3.host.com")
      ) {
         return "DIRECT";
      } else {
         return "PROXY ip2:port2";
      }
      return "PROXY ip2:port2";
}

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to