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
bc3f8bb0
Commit
bc3f8bb0
authored
Sep 30, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Oct 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: canonicalize_path_hierarchical should prepend a '/' if needed.
parent
e1280919
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
uri.c
dlls/urlmon/uri.c
+7
-0
No files found.
dlls/urlmon/uri.c
View file @
bc3f8bb0
...
...
@@ -2921,6 +2921,13 @@ static BOOL canonicalize_path_hierarchical(const parse_data *data, Uri *uri,
}
}
if
(
!
is_file
&&
*
(
data
->
path
)
&&
*
(
data
->
path
)
!=
'/'
)
{
/* Prepend a '/' to the path if it doesn't have one. */
if
(
!
computeOnly
)
uri
->
canon_uri
[
uri
->
canon_len
]
=
'/'
;
++
uri
->
canon_len
;
}
for
(;
ptr
<
data
->
path
+
data
->
path_len
;
++
ptr
)
{
if
(
*
ptr
==
'%'
)
{
const
WCHAR
*
tmp
=
ptr
;
...
...
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