summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-07-31 11:01:38 +0200
committerGitHub <noreply@github.com>2019-07-31 11:01:38 +0200
commit1d8b09aa8653d1278fa32355d144b135808d92a3 (patch)
treebec0ca038255d45fbc2ce9049678a84f5363621a /lib
parent3f8f0f76091bf0f0fae7e602f14a3a5f225f111b (diff)
parent417fbb5d6067fc25e16cae2155632d591b1d6b15 (diff)
downloadnextcloud-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.php2
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;