[2/4] wininet: Don't strip the port from URLs returned by InternetQueryOption(INTERNET_OPTION_URL).

Hans Leidekker hans at codeweavers.com
Mon Apr 22 04:02:26 CDT 2013


---
 dlls/wininet/http.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index c28335a..dab5dc4 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -2020,8 +2020,6 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
         host = HTTP_GetHeader(req, hostW);
         strcpyW(url, httpW);
         strcatW(url, host->lpszValue);
-        if (NULL != (pch = strchrW(url + strlenW(httpW), ':')))
-            *pch = 0;
         strcatW(url, req->path);
 
         TRACE("INTERNET_OPTION_URL: %s\n",debugstr_w(url));
-- 
1.7.10.4







More information about the wine-patches mailing list