[webkit-dev] How to let webkit to be able to load local image file in html content?
Jan Alonzo
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
> name)
> 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
> has
> been loaded from file..
Hi Holger
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
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090514/63f97121/attachment.html>
More information about the webkit-dev
mailing list