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

Hi,

I'm also having issues w/ this, even when the v8 tag is on. Version 3, the  
build that
came out today.

Proxy script is the following:

(... -s were added in by me of course; addr is a mask of text address and  
ip is of ip
address and of course and so is port)



function FindProxyForURL(url, host)
{

        if (shExpMatch( host, "addr.com*") ||
                shExpMatch(host, "addr.com*")
        )
        return "PROXY ip:3128; DIRECT";

        else if (shExpMatch( host, "addr*") ||
                        shExpMatch(host, "addr*") ||
                        shExpMatch(host, "addr*")||
                        shExpMatch(host, "addr*")||
                        shExpMatch(host, "addr*")||
                        shExpMatch(host, "addr*")||
                         shExpMatch(host, "localhost*") ||
                        dnsDomainIs(host, ".addr") ||
                        dnsDomainIs(host, ".addr") ||
                        
                        ...
                        
                        
                        isInNet(host, "ip", "255.255.255.255")  ||

                )
                 return "DIRECT";

     else if( url.substring(0, 5) == "http:" )
        {
                return "PROXY ip:3128; DIRECT";
        }
     else if( url.substring(0, 6) == "https:" )
        {
                return "PROXY ip:3128; DIRECT";
        }
     else if( url.substring(0, 4) == "ftp:" )
        {
                return "PROXY ip:3128; DIRECT";
        }
     else
        {
                return "DIRECT";
        }
}



--
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