Commit 2606b856 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wininet: Check for the 'http:' protocol in a locale independent way.

parent 1f85d64b
......@@ -640,7 +640,7 @@ static void HTTP_FixURL(http_request_t *request)
}
}
if(CSTR_EQUAL != CompareStringW( LOCALE_SYSTEM_DEFAULT, NORM_IGNORECASE,
if(CSTR_EQUAL != CompareStringW( LOCALE_INVARIANT, NORM_IGNORECASE,
request->path, strlenW(request->path), szHttp, strlenW(szHttp) )
&& request->path[0] != '/') /* not an absolute path ?? --> fix it !! */
{
......
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