diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-05-31 09:47:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 09:47:27 +0200 |
commit | 4746ede28a9d7a363fdeab58aff6a843acba44c5 (patch) | |
tree | 1f832f19a0700dc76a319e5c1d56986bd71b5ff2 | |
parent | eb08dcbdf033fdb41eee67b19a13a88dad32f763 (diff) | |
parent | 5b2d5767e11b2ea79de3f5ecb529f3e0533a02f4 (diff) | |
download | nextcloud-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
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 |