Commit 1b25de7d authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

wininet: Fix proxy bypass with wildcard if domain length matches with server.

parent 26c59d84
...@@ -1732,7 +1732,7 @@ static BOOL HTTP_DomainMatches(LPCWSTR server, substr_t domain) ...@@ -1732,7 +1732,7 @@ static BOOL HTTP_DomainMatches(LPCWSTR server, substr_t domain)
return FALSE; return FALSE;
len = strlenW(dot + 1); len = strlenW(dot + 1);
if(len <= domain.len - 2) if(len < domain.len - 2)
return FALSE; return FALSE;
/* The server's domain is longer than the wildcard, so it /* The server's domain is longer than the wildcard, so it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment