Skip to content

Commit c9c8c60

Browse files
committed
Disallow unsafe-eval by default
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent e387d90 commit c9c8c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/public/AppFramework/Http/ContentSecurityPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ContentSecurityPolicy extends EmptyContentSecurityPolicy {
4949
* TODO: Disallow per default
5050
* @link https://github.com/owncloud/core/issues/11925
5151
*/
52-
protected $evalScriptAllowed = true;
52+
protected $evalScriptAllowed = false;
5353
/** @var array Domains from which scripts can get loaded */
5454
protected $allowedScriptDomains = [
5555
'\'self\'',

0 commit comments

Comments
 (0)