Merge pull request #10204 from nextcloud/fix/noid/strict_csp_eval
Disallow eval on the StrictEvalCSP
This commit is contained in:
commit
b242044127
|
@ -46,6 +46,6 @@ class StrictEvalContentSecurityPolicy extends ContentSecurityPolicy {
|
|||
* @since 14.0.0
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->inlineStyleAllowed = false;
|
||||
$this->evalScriptAllowed = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue