From 6f78a63b5ba92bde07f73ad2eec89d52ce816a45 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 22 Apr 2013 11:02:26 +0200 Subject: [PATCH] wininet: Don't strip the port from URLs returned by InternetQueryOption(INTERNET_OPTION_URL). --- dlls/wininet/http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index c28335a8b4..dab5dc4501 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)); -- 2.32.0.93.g670b81a890