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)
|
if (!ptr)
|
||||||
ptr = strchrW( tmp, ' ' );
|
ptr = strchrW( tmp, ' ' );
|
||||||
if (!ptr)
|
if (!ptr)
|
||||||
ptr = tmp + strlenW(ptr);
|
ptr = tmp + strlenW(tmp);
|
||||||
ret = HTTP_DomainMatches( server, substr(tmp, ptr-tmp) );
|
ret = HTTP_DomainMatches( server, substr(tmp, ptr-tmp) );
|
||||||
if (ret || !*ptr)
|
if (ret || !*ptr)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue