aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Controller/ControllerTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-04-16 16:43:32 +0200
committerGitHub <noreply@github.com>2019-04-16 16:43:32 +0200
commit29d78eaf803957ab8df232e435d9d0ad1fc2741a (patch)
tree15f48602b108ca3cb9c3c70386188a22b7869eb4 /tests/lib/AppFramework/Controller/ControllerTest.php
parent34aa51f126bba2425a1c9b71525a093f25e2b08e (diff)
parent7276735eb423ed126333923bb921d9d4bef16f07 (diff)
downloadnextcloud-server-29d78eaf803957ab8df232e435d9d0ad1fc2741a.tar.gz
nextcloud-server-29d78eaf803957ab8df232e435d9d0ad1fc2741a.zip
Merge pull request #14952 from nextcloud/enh/14179/api_csp
Set empty CSP by default
Diffstat (limited to 'tests/lib/AppFramework/Controller/ControllerTest.php')
-rw-r--r--tests/lib/AppFramework/Controller/ControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Controller/ControllerTest.php b/tests/lib/AppFramework/Controller/ControllerTest.php
index 3d1d7e66e84..c37a2a3456c 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';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-ancestors 'self'",
+ 'Content-Security-Policy' => "default-src 'none';base-uri 'none';manifest-src 'self'",
];
$response = $this->controller->customDataResponse(array('hi'));