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
3901185e
Commit
3901185e
authored
Apr 03, 2010
by
Andrew Eikum
Committed by
Alexandre Julliard
Apr 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Always load URLs without a base URL through Wine.
parent
cf2a3af6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
nsio.c
dlls/mshtml/nsio.c
+2
-5
No files found.
dlls/mshtml/nsio.c
View file @
3901185e
...
...
@@ -2453,7 +2453,6 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
HTMLWindow
*
window
=
NULL
;
nsIURI
*
uri
=
NULL
;
LPCWSTR
base_wine_url
=
NULL
;
BOOL
is_wine_uri
=
FALSE
;
nsresult
nsres
;
nsACString_GetData
(
aSpec
,
&
spec
);
...
...
@@ -2464,10 +2463,8 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
if
(
is_gecko_special_uri
(
spec
))
return
nsIIOService_NewURI
(
nsio
,
aSpec
,
aOriginCharset
,
aBaseURI
,
_retval
);
if
(
!
strncmp
(
spec
,
"wine:"
,
5
))
{
if
(
!
strncmp
(
spec
,
"wine:"
,
5
))
spec
+=
5
;
is_wine_uri
=
TRUE
;
}
if
(
aBaseURI
)
{
PARSEDURLA
parsed_url
=
{
sizeof
(
PARSEDURLA
)};
...
...
@@ -2512,7 +2509,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
set_wine_url
(
wine_uri
,
url
);
else
WARN
(
"CoCombineUrl failed: %08x
\n
"
,
hres
);
}
else
if
(
is_wine_uri
)
{
}
else
{
WCHAR
url
[
INTERNET_MAX_URL_LENGTH
];
MultiByteToWideChar
(
CP_ACP
,
0
,
spec
,
-
1
,
url
,
sizeof
(
url
)
/
sizeof
(
WCHAR
));
...
...
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