Daniel Lehman : wininet: Fix proxy bypass with wildcard if domain length matches with server.
Alexandre Julliard
julliard at winehq.org
Fri Sep 8 15:03:21 CDT 2017
Module: wine
Branch: master
Commit: 1b25de7d57e81e5307a18c8889d4727c857dadca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b25de7d57e81e5307a18c8889d4727c857dadca
Author: Daniel Lehman <dlehman at esri.com>
Date: Wed Aug 30 09:44:16 2017 -0700
wininet: Fix proxy bypass with wildcard if domain length matches with server.
Signed-off-by: Daniel Lehman <dlehman at esri.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wininet/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index dc106d8..9191188 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -1732,7 +1732,7 @@ static BOOL HTTP_DomainMatches(LPCWSTR server, substr_t domain)
return FALSE;
len = strlenW(dot + 1);
- if(len <= domain.len - 2)
+ if(len < domain.len - 2)
return FALSE;
/* The server's domain is longer than the wildcard, so it
More information about the wine-cvs
mailing list