[Webkit-unassigned] [Bug 14765] New: Allow loading file://localhost/ resources from pages loaded with special://localhost/ URL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 25 14:28:26 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14765
Summary: Allow loading file://localhost/ resources from pages
loaded with special://localhost/ URL
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rush at manbert.com
This is a regression from Safari 2.
If a page is loaded by a custom protocol handler, it is not allowed to load
*SOME* local resources. This includes navigation to local file:// resources.
Strangely enough, local file:// image resources can be loaded, as can CSS style
sheets.
The problem here appears to be that the document created for the page loaded by
the custom protocol handler has m_isAllowedToLoadLocalResources set to false. I
realize that the custom protocol could do anything, but it's part of the
application, so shouldn't it be trusted? Perhaps when you do the
FrameLoader::canLoad() check you could look at the document protocol string and
see if there is a protocol handler registered for it and return true if so?
I have reported something similar in Bug #14738, but I later realized that it
is a much more serious problem than "flash files won't load".
The demonstration project attached to bug #14738 demonstrates this problem too.
If you load the HTML using the custom protocol, then the Back link does not
work and you see an error message when you click on it.
--
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