aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Security
diff options
context:
space:
mode:
authorluz paz <luzpaz@github.com>2022-07-27 08:51:42 -0400
committerluz paz <luzpaz@pm.me>2022-07-27 08:52:17 -0400
commit368f83095d443c28b0d90d2308549349cc28dd05 (patch)
tree34dad42801d67a12fb183892e81f7eea3b641950 /lib/private/Security
parent3e9c52ae5f640e40f26beec76c26272cf7fb1387 (diff)
downloadnextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.tar.gz
nextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.zip
Fix typos in lib/private subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
Diffstat (limited to 'lib/private/Security')
-rw-r--r--lib/private/Security/TrustedDomainHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/TrustedDomainHelper.php b/lib/private/Security/TrustedDomainHelper.php
index 0688ebba5b3..1927af9cb1d 100644
--- a/lib/private/Security/TrustedDomainHelper.php
+++ b/lib/private/Security/TrustedDomainHelper.php
@@ -97,7 +97,7 @@ class TrustedDomainHelper implements ITrustedDomainHelper {
if (preg_match(Request::REGEX_LOCALHOST, $domain) === 1) {
return true;
}
- // Reject misformed domains in any case
+ // Reject malformed domains in any case
if (strpos($domain, '-') === 0 || strpos($domain, '..') !== false) {
return false;
}