<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [Gtk] can not show json data (local file restrictions?)"
href="https://bugs.webkit.org/show_bug.cgi?id=161591#c29">Comment # 29</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [Gtk] can not show json data (local file restrictions?)"
href="https://bugs.webkit.org/show_bug.cgi?id=161591">bug 161591</a>
from <span class="vcard"><a class="email" href="mailto:hqwu@fiberhome.com" title="hqwu <hqwu@fiberhome.com>"> <span class="fn">hqwu</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=161591#c28">comment #28</a>)
<span class="quote">> If you're using file URIs, you'll want to set the
> allow-file-access-from-file-urls setting:
> <a href="https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings">https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings</a>.
> html#WebKitSettings--allow-file-access-from-file-urls
>
> There's also a new allow-universal-access-from-file-urls coming in this
> week's 2.14.0 release. If that doesn't work, I'm not sure.</span >
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 "<a href="http://127.0.0.1/test/test.html">http://127.0.0.1/test/test.html</a>",on this web page ,i want to get json from "<a href="http://127.0.0.1/json/testjson.json">http://127.0.0.1/json/testjson.json</a>"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>