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
e4c203a2
Commit
e4c203a2
authored
Aug 22, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Treat wyciwyg protocol as Gecko special protocol.
parent
487443a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
nsio.c
dlls/mshtml/nsio.c
+9
-9
No files found.
dlls/mshtml/nsio.c
View file @
e4c203a2
...
...
@@ -2186,15 +2186,15 @@ static nsresult NSAPI nsIOService_GetProtocolFlags(nsIIOService *iface, const ch
static
BOOL
is_gecko_special_uri
(
const
char
*
spec
)
{
static
const
char
chromeW
[]
=
"chrome:"
;
static
const
char
jarW
[]
=
"jar:"
;
static
const
char
resourceW
[]
=
"resource:"
;
static
const
char
javascriptW
[]
=
"javascript:"
;
return
!
strncasecmp
(
spec
,
chromeW
,
sizeof
(
chromeW
)
-
1
)
||
!
strncasecmp
(
spec
,
resourceW
,
sizeof
(
resourceW
)
-
1
)
||
!
strncasecmp
(
spec
,
jarW
,
sizeof
(
jarW
)
-
1
)
||
!
strncasecmp
(
spec
,
javascriptW
,
sizeof
(
javascriptW
)
-
1
)
;
static
const
char
*
special_schemes
[]
=
{
"chrome:"
,
"jar:"
,
"resource:"
,
"javascript:"
,
"wyciwyg:"
}
;
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
special_schemes
)
/
sizeof
(
*
special_schemes
);
i
++
)
{
if
(
!
strncasecmp
(
spec
,
special_schemes
[
i
],
strlen
(
special_schemes
[
i
])))
return
TRUE
;
}
return
FALSE
;
}
static
nsresult
NSAPI
nsIOService_NewURI
(
nsIIOService
*
iface
,
const
nsACString
*
aSpec
,
...
...
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