aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-05-31 09:47:27 +0200
committerGitHub <noreply@github.com>2023-05-31 09:47:27 +0200
commit4746ede28a9d7a363fdeab58aff6a843acba44c5 (patch)
tree1f832f19a0700dc76a319e5c1d56986bd71b5ff2
parenteb08dcbdf033fdb41eee67b19a13a88dad32f763 (diff)
parent5b2d5767e11b2ea79de3f5ecb529f3e0533a02f4 (diff)
downloadnextcloud-server-4746ede28a9d7a363fdeab58aff6a843acba44c5.tar.gz
nextcloud-server-4746ede28a9d7a363fdeab58aff6a843acba44c5.zip
Merge pull request #38513 from nextcloud/bugfix/noid/csp-doc-typos
fix(docs): Fix language and copy-paste class name in docs of CSP
-rw-r--r--lib/public/AppFramework/Http/StrictContentSecurityPolicy.php2
-rw-r--r--lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php4
-rw-r--r--lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php
index c62f79e8801..ed137bad930 100644
--- a/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/StrictContentSecurityPolicy.php
@@ -32,7 +32,7 @@ namespace OCP\AppFramework\Http;
* ('self') are allowed.
*
* Even if a value gets modified above defaults will still get appended. Please
- * notice that Nextcloud ships already with sensible defaults and those policies
+ * note that Nextcloud ships already with sensible defaults and those policies
* should require no modification at all for most use-cases.
*
* This class represents out strictest defaults. They may get change from release
diff --git a/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php
index ed799e4fd94..005b0db3dfc 100644
--- a/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php
@@ -26,13 +26,13 @@ declare(strict_types=1);
namespace OCP\AppFramework\Http;
/**
- * Class StrictInlineContentSecurityPolicy is a simple helper which allows applications to
+ * Class StrictEvalContentSecurityPolicy is a simple helper which allows applications to
* modify the Content-Security-Policy sent by Nextcloud. Per default only JavaScript,
* stylesheets, images, fonts, media and connections from the same domain
* ('self') are allowed.
*
* Even if a value gets modified above defaults will still get appended. Please
- * notice that Nextcloud ships already with sensible defaults and those policies
+ * note that Nextcloud ships already with sensible defaults and those policies
* should require no modification at all for most use-cases.
*
* This is a temp helper class from the default ContentSecurityPolicy to allow slow
diff --git a/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php b/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php
index 45b230ad9b5..aec94e8fb19 100644
--- a/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php
@@ -32,7 +32,7 @@ namespace OCP\AppFramework\Http;
* ('self') are allowed.
*
* Even if a value gets modified above defaults will still get appended. Please
- * notice that Nextcloud ships already with sensible defaults and those policies
+ * note that Nextcloud ships already with sensible defaults and those policies
* should require no modification at all for most use-cases.
*
* This is a temp helper class from the default ContentSecurityPolicy to allow slow