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:
edburns%acm.org
2001-04-03 21:56:59 +00:00
parent cc8edeccc2
commit 4e72c06770
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}