[webkit-dev] AJAX requests from local files to network stopped working in 4.6
Darin Adler
darin at apple.com
Mon Dec 7 09:20:47 PST 2009
On Dec 7, 2009, at 6:28 AM, Alexander Vassilev wrote:
> With qtwebkit 4.5.x I had no problems doing so, no cross-site scripting blocking by webkit, everything just worked (i did security control by myself). With qt 4.6 however, I get an empty responseText of the XMLHttpRequest object.
I think this message belongs on webkit-help rather than webkit-dev. Please look at <http://webkit.org/contact.html> to see the description of the purpose of the mailing lists.
The change in behavior is due to:
https://bugs.webkit.org/show_bug.cgi?id=20249
http://trac.webkit.org/changeset/41297
> is there a way to disable this security feature, like it was in the qt-4.5.x version of WebKit?
The setAllowUniversalAccessFromFileUrls function is what you are looking for, I think.
-- Darin
More information about the webkit-dev
mailing list