We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d360bd commit c1f323eCopy full SHA for c1f323e
lib/private/legacy/response.php
@@ -1,4 +1,5 @@
1
<?php
2
+<?php
3
/**
4
* @copyright Copyright (c) 2016, ownCloud, Inc.
5
*
@@ -84,7 +85,7 @@ public static function addSecurityHeaders() {
84
85
* @see \OCP\AppFramework\Http\Response::getHeaders
86
*/
87
$policy = 'default-src \'self\'; '
- . 'script-src \'self\' \'unsafe-eval\' \'nonce-'.\OC::$server->getContentSecurityPolicyNonceManager()->getNonce().'\'; '
88
+ . 'script-src \'self\' \'nonce-'.\OC::$server->getContentSecurityPolicyNonceManager()->getNonce().'\'; '
89
. 'style-src \'self\' \'unsafe-inline\'; '
90
. 'frame-src *; '
91
. 'img-src * data: blob:; '
0 commit comments