Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3f8f23c0
Commit
3f8f23c0
authored
Mar 08, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Lowercase schemes in UrlCombine function.
(cherry picked from commit
3f6142e0
)
parent
01d46ff3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
url.c
dlls/shlwapi/url.c
+10
-2
No files found.
dlls/shlwapi/url.c
View file @
3f8f23c0
...
...
@@ -662,7 +662,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
{
PARSEDURLW
base
,
relative
;
DWORD
myflags
,
sizeloc
=
0
;
DWORD
len
,
res1
,
res2
,
process_case
=
0
;
DWORD
i
,
len
,
res1
,
res2
,
process_case
=
0
;
LPWSTR
work
,
preliminary
,
mbase
,
mrelative
;
static
const
WCHAR
myfilestr
[]
=
{
'f'
,
'i'
,
'l'
,
'e'
,
':'
,
'/'
,
'/'
,
'/'
,
'\0'
};
HRESULT
ret
;
...
...
@@ -703,6 +703,10 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
else
do
{
BOOL
manual_search
=
FALSE
;
work
=
(
LPWSTR
)
base
.
pszProtocol
;
for
(
i
=
0
;
i
<
base
.
cchProtocol
;
i
++
)
work
[
i
]
=
tolowerW
(
work
[
i
]);
/* mk is a special case */
if
(
base
.
nScheme
==
URL_SCHEME_MK
)
{
static
const
WCHAR
wsz
[]
=
{
':'
,
':'
,
0
};
...
...
@@ -826,7 +830,11 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
}
process_case
=
(
*
base
.
pszSuffix
==
'/'
||
base
.
nScheme
==
URL_SCHEME_MK
)
?
5
:
3
;
break
;
}
}
else
{
work
=
(
LPWSTR
)
relative
.
pszProtocol
;
for
(
i
=
0
;
i
<
relative
.
cchProtocol
;
i
++
)
work
[
i
]
=
tolowerW
(
work
[
i
]);
}
/* handle cases where pszRelative has scheme */
if
((
base
.
cchProtocol
==
relative
.
cchProtocol
)
&&
...
...
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