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
2f046e96
Commit
2f046e96
authored
Feb 20, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Report true scheme for about:blank URL.
parent
7ea9c7d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
nsio.c
dlls/mshtml/nsio.c
+4
-2
No files found.
dlls/mshtml/nsio.c
View file @
2f046e96
...
...
@@ -48,6 +48,8 @@ static const IID NS_IOSERVICE_CID =
static
nsIIOService
*
nsio
=
NULL
;
static
const
WCHAR
about_blankW
[]
=
{
'a'
,
'b'
,
'o'
,
'u'
,
't'
,
':'
,
'b'
,
'l'
,
'a'
,
'n'
,
'k'
,
0
};
typedef
struct
{
const
nsIWineURIVtbl
*
lpWineURIVtbl
;
...
...
@@ -593,7 +595,7 @@ static BOOL do_load_from_moniker_hack(nsChannel *This)
const
char
*
scheme
;
nsACString_GetData
(
&
scheme_str
,
&
scheme
);
ret
=
!
strcmp
(
scheme
,
"wine"
);
ret
=
!
strcmp
(
scheme
,
"wine"
)
||
!
strcmp
(
scheme
,
"about"
)
;
}
nsACString_Finish
(
&
scheme_str
);
...
...
@@ -1264,7 +1266,7 @@ static nsresult NSAPI nsURI_GetScheme(nsIWineURI *iface, nsACString *aScheme)
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aScheme
);
if
(
This
->
use_wine_url
)
{
if
(
This
->
use_wine_url
&&
strcmpW
(
This
->
wine_url
,
about_blankW
)
)
{
/*
* For Gecko we set scheme to unknown so it won't be handled
* as any special case.
...
...
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