Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
4335be34
Commit
4335be34
authored
Dec 19, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Don't set default gopher protocol in InternetCrackUrlW.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
64cb9425
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
internet.c
dlls/wininet/internet.c
+0
-3
url.c
dlls/wininet/tests/url.c
+3
-0
No files found.
dlls/wininet/internet.c
View file @
4335be34
...
...
@@ -1829,9 +1829,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
;
}
...
...
dlls/wininet/tests/url.c
View file @
4335be34
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment