summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/response.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/response.php')
-rw-r--r--lib/private/legacy/response.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php
index bfee5aadb4d..361a085c0c0 100644
--- a/lib/private/legacy/response.php
+++ b/lib/private/legacy/response.php
@@ -84,7 +84,7 @@ class OC_Response {
* @see \OCP\AppFramework\Http\Response::getHeaders
*/
$policy = 'default-src \'self\'; '
- . 'script-src \'self\' \'unsafe-eval\' \'nonce-'.\OC::$server->getContentSecurityPolicyNonceManager()->getNonce().'\'; '
+ . 'script-src \'self\' \'nonce-'.\OC::$server->getContentSecurityPolicyNonceManager()->getNonce().'\'; '
. 'style-src \'self\' \'unsafe-inline\'; '
. 'frame-src *; '
. 'img-src * data: blob:; '