Enforce no remote access from local URLs for XHR
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Fri, 24 Apr 2015 08:28:33 +0000 (10:28 +0200)
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Fri, 24 Apr 2015 08:28:33 +0000 (10:28 +0200)
commit9324f8339efadb9653ee5544acf59529d7d8df12
treee33628808e9f8f22e3b028438f0f65c88c39dbd7
parenta45111511bdfa5a3381db62fbb96f6bf40daad6a
Enforce no remote access from local URLs for XHR

Do not allow cross-origin requests to start that will be rejected later
anyway.

Change-Id: Ied8ec141eb1c28775644fce184a4759a79e1d177
Task-number: QTBUG-45556
Source/WebCore/loader/DocumentThreadableLoader.cpp
Source/WebCore/page/SecurityOrigin.cpp
Source/WebCore/page/SecurityOrigin.h