wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b18ecadef7
commit
fff5dca787
|
@ -1771,7 +1771,7 @@ static BOOL HTTP_ShouldBypassProxy(appinfo_t *lpwai, LPCWSTR server)
|
|||
if (!ptr)
|
||||
ptr = strchrW( tmp, ' ' );
|
||||
if (!ptr)
|
||||
ptr = tmp + strlenW(ptr);
|
||||
ptr = tmp + strlenW(tmp);
|
||||
ret = HTTP_DomainMatches( server, substr(tmp, ptr-tmp) );
|
||||
if (ret || !*ptr)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue