[Webkit-unassigned] [Bug 161591] [Gtk] can not show json data (local file restrictions?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 17:42:37 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161591

--- Comment #33 from hqwu <hqwu at fiberhome.com> ---
(In reply to comment #31)
> (In reply to comment #29)
> > thank you very much!!! 
> > when i use a normal webser like Apache,if i want to access cross origin
> > resource,which founction can cancel the restrictions?
> > 
> > for example,my URL is "http://127.0.0.1/test/test.html",on this web page ,i
> > want to get json from "http://127.0.0.1/json/testjson.json"
> 
> Oh for that you don't need to mess with WebKit APIs at all, you can do it
> using CORS. I'm not an expert; you can check out http://enable-cors.org/ for
> an explanation. 
> 
> > my webkit release is 2.4.10,it has not
> > webkit_settings_set_allow_file_access_from_file_urls function,compile result
> > is "error: ‘webkit_settings_set_allow_file_access_from_file_urls’ was not
> > declared in this scope"
> 
> You probably want to upgrade to a modern version of WebKit, since 2.4.10 is
> old/insecure/unsupported.

thank you. I will upgrade to webkit2.12.5 today,and then test it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160920/d914823c/attachment.html>


More information about the webkit-unassigned mailing list