[webkit-dev] How to let webkit to be able to load local image file in html content?
jan.lists at gmail.com
Thu May 14 04:37:32 PDT 2009
On Thu, May 14, 2009 at 5:37 PM, Holger Freyther <zecke at selfish.org> wrote:
> On Thursday 14 May 2009 07:14:18 Jan Alonzo wrote:
> > Hi james,
> > can you please file a bug against the WebKitGtk component at
> > http://bugs.webkit.org. I don't think that's correct.
> It is correct. You define the SecurityOrigin (we have a class with that
> and you want to load something from a different context. Think of a WebPage
> trying to get file:///etc/passwd. This is only allowed if the page itself
> been loaded from file..
I was pointing at our documentation for that function which states that
base_uri is used as the base URI for relative locations. Since the resource
is already absolute, i think it should be ok to pass NULL here. And passing
NULL doesn't work in this case
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev