[Webkit-unassigned] [Bug 14738] Local file loaded with custom protocol cannot load local flash file
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 31 06:22:48 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14738
proton at wiretapped.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Comment #3 from proton at wiretapped.net 2007-07-31 06:22 PDT -------
This is correct behaviour.
WebKit now enforces a behaviour where remote referrers can't access local
resources as this can be a security issue (change implemented in
<http://trac.webkit.org/projects/webkit/changeset/19952>).
You can tell WebKit that your protocol should be treated as local by adding the
following two lines to SpecialProtocol.m under line 157:
if ([[WebView class] respondsToSelector:@selector(registerURLSchemeAsLocal:)])
[[WebView class] performSelector:@selector(registerURLSchemeAsLocal:)
withObject:[SpecialProtocol specialProtocolScheme]];
This code should work with any version of WebKit as it checks for the new
methods to be implemented before attempting to call them.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list