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
15feb50d
Commit
15feb50d
authored
Mar 14, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added ProcessUrlAction implementation.
parent
19b6cf81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
sec_mgr.c
dlls/urlmon/sec_mgr.c
+31
-2
No files found.
dlls/urlmon/sec_mgr.c
View file @
15feb50d
...
...
@@ -457,6 +457,7 @@ static HRESULT WINAPI SecManagerImpl_ProcessUrlAction(IInternetSecurityManager *
DWORD
dwFlags
,
DWORD
dwReserved
)
{
SecManagerImpl
*
This
=
SECMGR_THIS
(
iface
);
DWORD
zone
,
policy
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %08x %p %08x %p %08x %08x %08x)
\n
"
,
iface
,
debugstr_w
(
pwszUrl
),
dwAction
,
...
...
@@ -469,8 +470,36 @@ static HRESULT WINAPI SecManagerImpl_ProcessUrlAction(IInternetSecurityManager *
return
hres
;
}
FIXME
(
"Default action is not implemented
\n
"
);
return
E_NOTIMPL
;
if
(
pContext
||
cbContext
||
dwFlags
||
dwReserved
)
FIXME
(
"Unsupported arguments
\n
"
);
if
(
!
pwszUrl
)
return
E_INVALIDARG
;
hres
=
map_url_to_zone
(
pwszUrl
,
&
zone
,
NULL
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
get_action_policy
(
zone
,
dwAction
,
(
BYTE
*
)
&
policy
,
sizeof
(
policy
),
URLZONEREG_DEFAULT
);
if
(
FAILED
(
hres
))
return
hres
;
TRACE
(
"policy %x
\n
"
,
policy
);
switch
(
GetUrlPolicyPermissions
(
policy
))
{
case
URLPOLICY_ALLOW
:
case
URLPOLICY_CHANNEL_SOFTDIST_PRECACHE
:
return
S_OK
;
case
URLPOLICY_DISALLOW
:
return
S_FALSE
;
case
URLPOLICY_QUERY
:
FIXME
(
"URLPOLICY_QUERY not implemented
\n
"
);
return
E_FAIL
;
default:
FIXME
(
"Not implemented policy %x
\n
"
,
policy
);
}
return
E_FAIL
;
}
...
...
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