r=av sr=waterson Make it so incomplete hostnames, such as .eng.sun.com, are valid entries for the noProxyFor list. git-svn-id: svn://10.0.0.236/trunk@91180 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2264,7 +2264,7 @@ NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result)
|
||||
|
||||
token = nsCRT::strtok( noProxyCopy, comma, &newStr );
|
||||
while( token != NULL ) {
|
||||
if (PL_strstr((const char *) token, (const char *) proxyHost)) {
|
||||
if (PL_strstr((const char *) proxyHost, (const char *) token)) {
|
||||
useDirect = PR_TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2264,7 +2264,7 @@ NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result)
|
||||
|
||||
token = nsCRT::strtok( noProxyCopy, comma, &newStr );
|
||||
while( token != NULL ) {
|
||||
if (PL_strstr((const char *) token, (const char *) proxyHost)) {
|
||||
if (PL_strstr((const char *) proxyHost, (const char *) token)) {
|
||||
useDirect = PR_TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user