wininet: Handle query parameters for HTTPS urls in InternetOpenUrlW.
Signed-off-by: Michael Müller <michael@fds-team.de> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bd8bd972ae
commit
6caecb6e58
|
@ -3462,7 +3462,9 @@ static HINTERNET INTERNET_InternetOpenUrlW(appinfo_t *hIC, LPCWSTR lpszUrl,
|
||||||
if(!InternetCrackUrlW(lpszUrl, strlenW(lpszUrl), 0, &urlComponents))
|
if(!InternetCrackUrlW(lpszUrl, strlenW(lpszUrl), 0, &urlComponents))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if(urlComponents.nScheme == INTERNET_SCHEME_HTTP && urlComponents.dwExtraInfoLength) {
|
if ((urlComponents.nScheme == INTERNET_SCHEME_HTTP || urlComponents.nScheme == INTERNET_SCHEME_HTTPS) &&
|
||||||
|
urlComponents.dwExtraInfoLength)
|
||||||
|
{
|
||||||
assert(urlComponents.lpszUrlPath + urlComponents.dwUrlPathLength == urlComponents.lpszExtraInfo);
|
assert(urlComponents.lpszUrlPath + urlComponents.dwUrlPathLength == urlComponents.lpszExtraInfo);
|
||||||
urlComponents.dwUrlPathLength += urlComponents.dwExtraInfoLength;
|
urlComponents.dwUrlPathLength += urlComponents.dwExtraInfoLength;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue