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

This commit is contained in:
Francois Gouget 2012-09-25 11:33:05 +02:00 committed by Alexandre Julliard
parent 1f85d64b19
commit 2606b85687
1 changed files with 1 additions and 1 deletions

View File

@ -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 !! */
{