]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(docs): Fix language and copy-paste class name in docs of CSP 38513/head
authorJoas Schilling <coding@schilljs.com>
Tue, 30 May 2023 11:39:33 +0000 (13:39 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 30 May 2023 11:39:33 +0000 (13:39 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/public/AppFramework/Http/StrictContentSecurityPolicy.php
lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php
lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php

index c62f79e8801343b15e440639b5258832ca96a31e..ed137bad930584ca14c1b2b1bf37708d8c4658b7 100644 (file)
@@ -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
index ed799e4fd9422d211529cc12895622f7afa43c12..005b0db3dfc2139afbc6ad2b7ab427bc12294ab2 100644 (file)
@@ -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
index 45b230ad9b5bf180db8d8f5db19175300f137ef4..aec94e8fb199c1043cba9a2265d9bceba4b20fa0 100644 (file)
@@ -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