=?UTF-8?Q?Michael=20M=C3=BCller=20?=: wininet: Handle query parameters for HTTPS urls in InternetOpenUrlW.

Alexandre Julliard julliard at winehq.org
Thu Feb 23 16:27:51 CST 2017


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

Author: Michael Müller <michael at 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 at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
     }




More information about the wine-cvs mailing list