Hans Leidekker : wininet: Don' t strip the port from URLs returned by InternetQueryOption( INTERNET_OPTION_URL).

Alexandre Julliard julliard at winehq.org
Mon Apr 22 14:29:18 CDT 2013


Module: wine
Branch: master
Commit: 6f78a63b5ba92bde07f73ad2eec89d52ce816a45
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6f78a63b5ba92bde07f73ad2eec89d52ce816a45

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Apr 22 11:02:26 2013 +0200

wininet: Don't strip the port from URLs returned by InternetQueryOption(INTERNET_OPTION_URL).

---

 dlls/wininet/http.c |    2 --
 1 files changed, 0 insertions(+), 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));




More information about the wine-cvs mailing list