https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1fb556935e0625c735399…
commit 1fb556935e0625c7353992e87ae4cbda55a46d69
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Tue Dec 8 18:00:49 2020 +0100
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Tue Jan 5 11:03:13 2021 +0100
[WINESYNC] wininet: Don't set default gopher protocol in InternetCrackUrlW.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 4335be346271072f440419b9234883aef187d857 by Jacek Caban
<jacek(a)codeweavers.com>
---
dll/win32/wininet/internet.c | 3 ---
modules/rostests/winetests/wininet/url.c | 3 +++
sdk/tools/winesync/wininet.cfg | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/win32/wininet/internet.c b/dll/win32/wininet/internet.c
index 10e47625726..94dd800d869 100644
--- a/dll/win32/wininet/internet.c
+++ b/dll/win32/wininet/internet.c
@@ -1836,9 +1836,6 @@ BOOL WINAPI InternetCrackUrlW(const WCHAR *lpszUrl, DWORD
dwUrlLength, DWORD dwF
case INTERNET_SCHEME_FTP:
lpUC->nPort = INTERNET_DEFAULT_FTP_PORT;
break;
- case INTERNET_SCHEME_GOPHER:
- lpUC->nPort = INTERNET_DEFAULT_GOPHER_PORT;
- break;
default:
break;
}
diff --git a/modules/rostests/winetests/wininet/url.c
b/modules/rostests/winetests/wininet/url.c
index ba9d9654424..bce7dc76c59 100644
--- a/modules/rostests/winetests/wininet/url.c
+++ b/modules/rostests/winetests/wininet/url.c
@@ -172,6 +172,9 @@ static const crack_url_test_t crack_url_tests[] = {
{"res://IELib.dll/test.htm",
0, 3, INTERNET_SCHEME_RES, 6, 9, -1, 0, -1, 0, -1, 0, 15, 9, -1, 0,
"res", "IELib.dll", "", "",
"/test.htm", ""},
+ {"gopher://www.winehq.org/site/about#hi",
+ 0, 6, INTERNET_SCHEME_GOPHER, 9, 14, -1, 0, -1, 0, -1, 0, 23, 11, 34, 3,
+ "gopher", "www.winehq.org", "", "",
"/site/about", "#hi"},
};
static WCHAR *a2w(const char *str)
diff --git a/sdk/tools/winesync/wininet.cfg b/sdk/tools/winesync/wininet.cfg
index 125dba9e287..94e2e098198 100644
--- a/sdk/tools/winesync/wininet.cfg
+++ b/sdk/tools/winesync/wininet.cfg
@@ -5,4 +5,4 @@ files:
include/wininet.h: sdk/include/psdk/wininet.h
include/winineti.h: sdk/include/psdk/winineti.h
tags:
- wine: 64cb9425da43271109bc1df8df4aa32132f257ae
+ wine: 4335be346271072f440419b9234883aef187d857