diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-31 11:01:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 11:01:38 +0200 |
commit | 1d8b09aa8653d1278fa32355d144b135808d92a3 (patch) | |
tree | bec0ca038255d45fbc2ce9049678a84f5363621a /lib | |
parent | 3f8f0f76091bf0f0fae7e602f14a3a5f225f111b (diff) | |
parent | 417fbb5d6067fc25e16cae2155632d591b1d6b15 (diff) | |
download | nextcloud-server-1d8b09aa8653d1278fa32355d144b135808d92a3.tar.gz nextcloud-server-1d8b09aa8653d1278fa32355d144b135808d92a3.zip |
Merge pull request #16616 from nextcloud/dep/setEvalScript
setting unsafe-eval is deprecated
Diffstat (limited to 'lib')
-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; |