Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
5ca8e4b0
Commit
5ca8e4b0
authored
Jan 23, 2024
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Use scheme_is_opaque() in UrlIs().
parent
37aabda6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
path.c
dlls/kernelbase/path.c
+1
-10
No files found.
dlls/kernelbase/path.c
View file @
5ca8e4b0
...
@@ -4816,16 +4816,7 @@ BOOL WINAPI UrlIsA(const char *url, URLIS Urlis)
...
@@ -4816,16 +4816,7 @@ BOOL WINAPI UrlIsA(const char *url, URLIS Urlis)
case
URLIS_OPAQUE
:
case
URLIS_OPAQUE
:
base
.
cbSize
=
sizeof
(
base
);
base
.
cbSize
=
sizeof
(
base
);
if
(
ParseURLA
(
url
,
&
base
)
!=
S_OK
)
return
FALSE
;
/* invalid scheme */
if
(
ParseURLA
(
url
,
&
base
)
!=
S_OK
)
return
FALSE
;
/* invalid scheme */
switch
(
base
.
nScheme
)
return
scheme_is_opaque
(
base
.
nScheme
);
{
case
URL_SCHEME_MAILTO
:
case
URL_SCHEME_SHELL
:
case
URL_SCHEME_JAVASCRIPT
:
case
URL_SCHEME_VBSCRIPT
:
case
URL_SCHEME_ABOUT
:
return
TRUE
;
}
return
FALSE
;
case
URLIS_FILEURL
:
case
URLIS_FILEURL
:
return
(
CompareStringA
(
LOCALE_INVARIANT
,
NORM_IGNORECASE
,
url
,
5
,
"file:"
,
5
)
==
CSTR_EQUAL
);
return
(
CompareStringA
(
LOCALE_INVARIANT
,
NORM_IGNORECASE
,
url
,
5
,
"file:"
,
5
)
==
CSTR_EQUAL
);
...
...
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