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
da1ceb11
Commit
da1ceb11
authored
Sep 27, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Sep 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Improve IUri support for mk: URIs.
parent
d33ff209
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
uri.c
dlls/urlmon/tests/uri.c
+56
-0
uri.c
dlls/urlmon/uri.c
+5
-0
No files found.
dlls/urlmon/tests/uri.c
View file @
da1ceb11
...
...
@@ -4209,6 +4209,62 @@ static const uri_properties uri_tests[] = {
{
URL_SCHEME_ABOUT
,
S_OK
,
FALSE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"mk:@MSITStore:C:
\\
Program Files/AutoCAD 2008
\\
Help/acad_acg.chm::/WSfacf1429558a55de1a7524c1004e616f8b-322b.htm"
,
0
,
S_OK
,
FALSE
,
Uri_HAS_ABSOLUTE_URI
|
Uri_HAS_DISPLAY_URI
|
Uri_HAS_EXTENSION
|
Uri_HAS_PATH
|
Uri_HAS_PATH_AND_QUERY
|
Uri_HAS_RAW_URI
|
Uri_HAS_SCHEME_NAME
|
Uri_HAS_HOST_TYPE
|
Uri_HAS_SCHEME
,
FALSE
,
{
{
"mk:@MSITStore:C:
\\
Program%20Files/AutoCAD%202008
\\
Help/acad_acg.chm::/WSfacf1429558a55de1a7524c1004e616f8b-322b.htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"mk:@MSITStore:C:
\\
Program%20Files/AutoCAD%202008
\\
Help/acad_acg.chm::/WSfacf1429558a55de1a7524c1004e616f8b-322b.htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
".htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"@MSITStore:C:
\\
Program%20Files/AutoCAD%202008
\\
Help/acad_acg.chm::/WSfacf1429558a55de1a7524c1004e616f8b-322b.htm"
,
S_OK
,
FALSE
},
{
"@MSITStore:C:
\\
Program%20Files/AutoCAD%202008
\\
Help/acad_acg.chm::/WSfacf1429558a55de1a7524c1004e616f8b-322b.htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"mk:@MSITStore:C:
\\
Program Files/AutoCAD 2008
\\
Help/acad_acg.chm::/WSfacf1429558a55de1a7524c1004e616f8b-322b.htm"
,
S_OK
,
FALSE
},
{
"mk"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
}
},
{
{
Uri_HOST_UNKNOWN
,
S_OK
,
FALSE
},
{
0
,
S_FALSE
,
FALSE
},
{
URL_SCHEME_MK
,
S_OK
,
FALSE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"mk:@MSITStore:Z:
\\
home
\\
test
\\
chm
\\
silqhelp.chm::/thesilqquickstartguide.htm"
,
0
,
S_OK
,
FALSE
,
Uri_HAS_ABSOLUTE_URI
|
Uri_HAS_DISPLAY_URI
|
Uri_HAS_EXTENSION
|
Uri_HAS_PATH
|
Uri_HAS_PATH_AND_QUERY
|
Uri_HAS_RAW_URI
|
Uri_HAS_SCHEME_NAME
|
Uri_HAS_HOST_TYPE
|
Uri_HAS_SCHEME
,
FALSE
,
{
{
"mk:@MSITStore:Z:
\\
home
\\
test
\\
chm
\\
silqhelp.chm::/thesilqquickstartguide.htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"mk:@MSITStore:Z:
\\
home
\\
test
\\
chm
\\
silqhelp.chm::/thesilqquickstartguide.htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
".htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"@MSITStore:Z:
\\
home
\\
test
\\
chm
\\
silqhelp.chm::/thesilqquickstartguide.htm"
,
S_OK
,
FALSE
},
{
"@MSITStore:Z:
\\
home
\\
test
\\
chm
\\
silqhelp.chm::/thesilqquickstartguide.htm"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"mk:@MSITStore:Z:
\\
home
\\
test
\\
chm
\\
silqhelp.chm::/thesilqquickstartguide.htm"
,
S_OK
,
FALSE
},
{
"mk"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
}
},
{
{
Uri_HOST_UNKNOWN
,
S_OK
,
FALSE
},
{
0
,
S_FALSE
,
FALSE
},
{
URL_SCHEME_MK
,
S_OK
,
FALSE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
}
};
...
...
dlls/urlmon/uri.c
View file @
da1ceb11
...
...
@@ -3081,6 +3081,11 @@ static BOOL canonicalize_path_opaque(const parse_data *data, Uri *uri, DWORD fla
if
(
!
computeOnly
)
uri
->
canon_uri
[
uri
->
canon_len
]
=
*
ptr
;
++
uri
->
canon_len
;
}
else
if
(
data
->
scheme_type
==
URL_SCHEME_MK
&&
*
ptr
==
'\\'
)
{
/* MK URIs don't get '\\' percent encoded. */
if
(
!
computeOnly
)
uri
->
canon_uri
[
uri
->
canon_len
]
=
*
ptr
;
++
uri
->
canon_len
;
}
else
{
if
(
!
computeOnly
)
pct_encode_val
(
*
ptr
,
uri
->
canon_uri
+
uri
->
canon_len
);
...
...
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