diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-09-03 15:28:37 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-14 20:45:34 +0200 |
commit | 5b61ef9213df0ff67ebd5b9c88a8e1562f367351 (patch) | |
tree | 19543e649aec57ce289ea47fb3cd8d3121fc6557 /tests/lib/AppFramework/Controller | |
parent | 0fca815b4dd601381a909656a1e3e7a7e89714d2 (diff) | |
download | nextcloud-server-5b61ef9213df0ff67ebd5b9c88a8e1562f367351.tar.gz nextcloud-server-5b61ef9213df0ff67ebd5b9c88a8e1562f367351.zip |
Disallow unsafe-eval by default
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/AppFramework/Controller')
-rw-r--r-- | tests/lib/AppFramework/Controller/ControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Controller/ControllerTest.php b/tests/lib/AppFramework/Controller/ControllerTest.php index ca71e9154ef..5e0137b1e3b 100644 --- a/tests/lib/AppFramework/Controller/ControllerTest.php +++ b/tests/lib/AppFramework/Controller/ControllerTest.php @@ -116,7 +116,7 @@ class ControllerTest extends \Test\TestCase { 'test' => 'something', 'Cache-Control' => 'no-cache, no-store, must-revalidate', 'Content-Type' => 'application/json; charset=utf-8', - 'Content-Security-Policy' => "default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self'", + 'Content-Security-Policy' => "default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self'", ]; $response = $this->controller->customDataResponse(array('hi')); |