Commit fff5dca7 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy.

parent b18ecade
......@@ -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;
......
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