From 4b2a15de9fef0f396783ab2f1979538abc63f457 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 5 Jun 2009 16:42:44 +0200 Subject: [PATCH] wininet: Always use a full URL for redirects, even with an absolute path. --- dlls/wininet/http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 1bba8d97f17..0f59810804c 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -3255,8 +3255,6 @@ static LPWSTR HTTP_GetRedirectURL(LPWININETHTTPREQW lpwhr, LPCWSTR lpszUrl) LPWSTR orig_url; LPWSTR combined_url; - if (lpszUrl[0]=='/') return WININET_strdupW( lpszUrl ); - urlComponents.dwStructSize = sizeof(URL_COMPONENTSW); urlComponents.lpszScheme = (lpwhr->hdr.dwFlags & INTERNET_FLAG_SECURE) ? szHttps : szHttp; urlComponents.dwSchemeLength = 0;