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
dae390d9
Commit
dae390d9
authored
Jan 26, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Don't unescape url in UrlCombineW with URL_FILE_USE_PATHURL flag.
parent
fbfe9a72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
path.c
dlls/shlwapi/tests/path.c
+4
-1
url.c
dlls/shlwapi/url.c
+1
-1
No files found.
dlls/shlwapi/tests/path.c
View file @
dae390d9
...
...
@@ -195,7 +195,10 @@ const TEST_URL_COMBINE TEST_COMBINE[] = {
{
"http://www.winehq.org/tests/#example"
,
"tests9"
,
0
,
S_OK
,
"http://www.winehq.org/tests/tests9"
},
{
"http://www.winehq.org/tests/../tests/"
,
"/tests10/.."
,
URL_DONT_SIMPLIFY
,
S_OK
,
"http://www.winehq.org/tests10/.."
},
{
"http://www.winehq.org/tests/../"
,
"tests11"
,
URL_DONT_SIMPLIFY
,
S_OK
,
"http://www.winehq.org/tests/../tests11"
},
{
"file:///C:
\\
dir
\\
file.txt"
,
"test.txt"
,
0
,
S_OK
,
"file:///C:/dir/test.txt"
}
{
"file:///C:
\\
dir
\\
file.txt"
,
"test.txt"
,
0
,
S_OK
,
"file:///C:/dir/test.txt"
},
{
"http://www.winehq.org/test/"
,
"test%20file.txt"
,
0
,
S_OK
,
"http://www.winehq.org/test/test%20file.txt"
},
{
"http://www.winehq.org/test/"
,
"test%20file.txt"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"http://www.winehq.org/test/test%20file.txt"
},
{
"http://www.winehq.org%2ftest/"
,
"test%20file.txt"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"http://www.winehq.org%2ftest/test%20file.txt"
}
};
struct
{
...
...
dlls/shlwapi/url.c
View file @
dae390d9
...
...
@@ -803,7 +803,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
if
(
ret
==
S_OK
)
{
/* Reuse mrelative as temp storage as its already allocated and not needed anymore */
ret
=
UrlCanonicalizeW
(
preliminary
,
mrelative
,
pcchCombined
,
dwFlags
);
ret
=
UrlCanonicalizeW
(
preliminary
,
mrelative
,
pcchCombined
,
(
dwFlags
&
~
URL_FILE_USE_PATHURL
)
);
if
(
SUCCEEDED
(
ret
)
&&
pszCombined
)
{
lstrcpyW
(
pszCombined
,
mrelative
);
}
...
...
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