From cd243b0876442659a46d4d10eca316757fcc35b3 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Sat, 27 Jul 2019 14:59:48 +0200 Subject: [PATCH] No need to have these classes we tighten the default CSP from time to time Signed-off-by: Roeland Jago Douma --- lib/public/AppFramework/Http/StrictContentSecurityPolicy.php | 1 + lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php | 1 + .../AppFramework/Http/StrictInlineContentSecurityPolicy.php | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php index 6713796bdd3..e63eccb72eb 100644 --- a/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php @@ -39,6 +39,7 @@ namespace OCP\AppFramework\Http; * * @package OCP\AppFramework\Http * @since 14.0.0 + * @deprecated 17.0.0 */ class StrictContentSecurityPolicy extends EmptyContentSecurityPolicy { /** @var bool Whether inline JS snippets are allowed */ diff --git a/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php index b95d2c65e50..2ae4bbe143b 100644 --- a/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php @@ -39,6 +39,7 @@ namespace OCP\AppFramework\Http; * * @package OCP\AppFramework\Http * @since 14.0.0 + * @deprecated 17.0.0 */ class StrictEvalContentSecurityPolicy extends ContentSecurityPolicy { diff --git a/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php index 65630de7b76..8ec39b46ad1 100644 --- a/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php @@ -39,6 +39,7 @@ namespace OCP\AppFramework\Http; * * @package OCP\AppFramework\Http * @since 14.0.0 + * @deprecated 17.0.0 */ class StrictInlineContentSecurityPolicy extends ContentSecurityPolicy { -- 2.39.5