summaryrefslogtreecommitdiffstats
path: root/net/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy')
-rw-r--r--net/proxy/proxy_config.cc3
-rw-r--r--net/proxy/proxy_service.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/net/proxy/proxy_config.cc b/net/proxy/proxy_config.cc
index a1aa92c..836559e 100644
--- a/net/proxy/proxy_config.cc
+++ b/net/proxy/proxy_config.cc
@@ -121,7 +121,8 @@ void ProxyConfig::ParseNoProxyList(const std::string& no_proxy) {
// A single "*" is specifically allowed and unproxies anything.
// "*" wildcards other than a single "*" entry are not universally
// supported. We will support them, as we get * wildcards for free
- // (see MatchPattern() called from ProxyService::ShouldBypassProxyForURL()).
+ // (see MatchPatternASCII() called from
+ // ProxyService::ShouldBypassProxyForURL()).
// no_proxy is a comma-separated list of <trailing_domain>[:<port>].
// If no port is specified then any port matches.
// The historical definition has trailing_domain match using a simple
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index dc97d47..7acde10 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -740,7 +740,7 @@ bool ProxyService::ShouldBypassProxyForURL(const GURL& url) {
StringToLowerASCII(&bypass_url_domain);
- if (MatchPattern(*url_compare_reference, bypass_url_domain))
+ if (MatchPatternASCII(*url_compare_reference, bypass_url_domain))
return true;
// Some systems (the Mac, for example) allow CIDR-style specification of