HTTP_DealWithProxy: Only add http:// to proxy string when needed.
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 20f5099..c2d0ca5 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c
@@ -504,7 +504,10 @@ UrlComponents.lpszHostName = buf; UrlComponents.dwHostNameLength = MAXHOSTNAME; - sprintf(proxy, "http://%s/", hIC->lpszProxy); + if (strncasecmp(hIC->lpszProxy,"http://",strlen("http://"))) + sprintf(proxy, "http://%s/", hIC->lpszProxy); + else + strcpy(proxy,hIC->lpszProxy); if( !InternetCrackUrlA(proxy, 0, 0, &UrlComponents) ) return FALSE; if( UrlComponents.dwHostNameLength == 0 )