setting unsafe-eval is deprecated
This will be removed in a future version of Nextcloud. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d4eb8481fa
commit
417fbb5d60
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ class ContentSecurityPolicy extends \OCP\AppFramework\Http\ContentSecurityPolicy
|
|||
|
||||
/**
|
||||
* @param boolean $evalScriptAllowed
|
||||
*
|
||||
* @deprecated 17.0.0 Unsafe eval should not be used anymore.
|
||||
*/
|
||||
public function setEvalScriptAllowed(bool $evalScriptAllowed) {
|
||||
$this->evalScriptAllowed = $evalScriptAllowed;
|
||||
|
|
Loading…
Reference in a new issue