Module: wine Branch: stable Commit: f26de321f94ae70457a39f43528e839253d4a32f URL: http://source.winehq.org/git/wine.git/?a=commit;h=f26de321f94ae70457a39f4352...
Author: Michael Müller michael@fds-team.de Date: Thu Feb 23 12:31:06 2017 +0100
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 (cherry picked from commit 6caecb6e58166b980ac610829c808550168e4451) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/wininet/internet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 772e4c1..02379c2 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -3462,7 +3462,9 @@ static HINTERNET INTERNET_InternetOpenUrlW(appinfo_t *hIC, LPCWSTR lpszUrl, if(!InternetCrackUrlW(lpszUrl, strlenW(lpszUrl), 0, &urlComponents)) 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); urlComponents.dwUrlPathLength += urlComponents.dwExtraInfoLength; }