diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-07-30 16:27:38 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-07-30 16:27:38 +0200 |
commit | 417fbb5d6067fc25e16cae2155632d591b1d6b15 (patch) | |
tree | 2ee406e93c5dc309d78dc7215a1b10b6b5678c3f /lib/private | |
parent | d4eb8481fa124e5841a3dcecb1e34465af178ef6 (diff) | |
download | nextcloud-server-417fbb5d6067fc25e16cae2155632d591b1d6b15.tar.gz nextcloud-server-417fbb5d6067fc25e16cae2155632d591b1d6b15.zip |
setting unsafe-eval is deprecated
This will be removed in a future version of Nextcloud.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Security/CSP/ContentSecurityPolicy.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Security/CSP/ContentSecurityPolicy.php b/lib/private/Security/CSP/ContentSecurityPolicy.php index 8fd4df05c31..a066c986f15 100644 --- a/lib/private/Security/CSP/ContentSecurityPolicy.php +++ b/lib/private/Security/CSP/ContentSecurityPolicy.php @@ -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; |