wininet: Fix proxy bypass with wildcard if domain length matches with server.
Signed-off-by: Daniel Lehman <dlehman@esri.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
26c59d845e
commit
1b25de7d57
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue