wininet: Don't strip the port from URLs returned by InternetQueryOption(INTERNET_OPTION_URL).
This commit is contained in:
parent
578a1a6b26
commit
6f78a63b5b
|
@ -2020,8 +2020,6 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
|
||||||
host = HTTP_GetHeader(req, hostW);
|
host = HTTP_GetHeader(req, hostW);
|
||||||
strcpyW(url, httpW);
|
strcpyW(url, httpW);
|
||||||
strcatW(url, host->lpszValue);
|
strcatW(url, host->lpszValue);
|
||||||
if (NULL != (pch = strchrW(url + strlenW(httpW), ':')))
|
|
||||||
*pch = 0;
|
|
||||||
strcatW(url, req->path);
|
strcatW(url, req->path);
|
||||||
|
|
||||||
TRACE("INTERNET_OPTION_URL: %s\n",debugstr_w(url));
|
TRACE("INTERNET_OPTION_URL: %s\n",debugstr_w(url));
|
||||||
|
|
Loading…
Reference in New Issue