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
fecbc88d
Commit
fecbc88d
authored
Dec 24, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Allow '#' to be the first char of resource name in res protocol.
parent
5135144d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
protocol.c
dlls/mshtml/protocol.c
+1
-1
protocol.c
dlls/mshtml/tests/protocol.c
+3
-0
rsrc.rc
dlls/mshtml/tests/rsrc.rc
+3
-0
No files found.
dlls/mshtml/protocol.c
View file @
fecbc88d
...
...
@@ -649,7 +649,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
/* Ignore query and hash parts. */
if
((
ptr
=
strchrW
(
url_file
,
'?'
)))
*
ptr
=
0
;
if
(
(
ptr
=
strchrW
(
url_file
,
'#'
)))
if
(
*
url_file
&&
(
ptr
=
strchrW
(
url_file
+
1
,
'#'
)))
*
ptr
=
0
;
hdll
=
LoadLibraryExW
(
url_dll
,
NULL
,
LOAD_LIBRARY_AS_DATAFILE
);
...
...
dlls/mshtml/tests/protocol.c
View file @
fecbc88d
...
...
@@ -606,6 +606,9 @@ static void test_res_protocol(void)
if
(
GetProcAddress
(
LoadLibraryA
(
"urlmon.dll"
),
"CreateUri"
))
{
test_res_url
(
"/test/dir/dir2/res.html?query_part"
);
test_res_url
(
"/test/dir/dir2/res.html#hash_part"
);
test_res_url
(
"/#123"
);
test_res_url
(
"/#23/#123"
);
test_res_url
(
"/#123#456"
);
}
else
{
win_skip
(
"IUri not supported
\n
"
);
}
...
...
dlls/mshtml/tests/rsrc.rc
View file @
fecbc88d
...
...
@@ -40,6 +40,9 @@ blank.html HTML "blank.html"
/* @makedep: blank.html */
blank2.html HTML "blank.html"
/* @makedep: blank.html */
123 HTML "blank.html"
/* @makedep: test_tlb.tlb */
1 TYPELIB test_tlb.tlb
...
...
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