Skip to content
Snippets Groups Projects
Unverified Commit 1d8b09aa authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #16616 from nextcloud/dep/setEvalScript

setting unsafe-eval is deprecated
parents 3f8f0f76 417fbb5d
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,8 @@ class ContentSecurityPolicy extends \OCP\AppFramework\Http\ContentSecurityPolicy ...@@ -54,6 +54,8 @@ class ContentSecurityPolicy extends \OCP\AppFramework\Http\ContentSecurityPolicy
/** /**
* @param boolean $evalScriptAllowed * @param boolean $evalScriptAllowed
*
* @deprecated 17.0.0 Unsafe eval should not be used anymore.
*/ */
public function setEvalScriptAllowed(bool $evalScriptAllowed) { public function setEvalScriptAllowed(bool $evalScriptAllowed) {
$this->evalScriptAllowed = $evalScriptAllowed; $this->evalScriptAllowed = $evalScriptAllowed;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment