summaryrefslogtreecommitdiffstats
path: root/lib/private/Security/TrustedDomainHelper.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-12 20:44:38 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-01-13 00:19:07 +0100
commit6312c0df6949955d1cd59c3dd444268e0773293c (patch)
tree1f517db2c7b1c6588a44d13e78b2ff49b2886708 /lib/private/Security/TrustedDomainHelper.php
parentaeecb72e96e54439f98822467bb727366207039f (diff)
downloadnextcloud-server-6312c0df6949955d1cd59c3dd444268e0773293c.tar.gz
nextcloud-server-6312c0df6949955d1cd59c3dd444268e0773293c.zip
Check style update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Security/TrustedDomainHelper.php')
-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 175e4cbd356..0688ebba5b3 100644
--- a/lib/private/Security/TrustedDomainHelper.php
+++ b/lib/private/Security/TrustedDomainHelper.php
@@ -98,7 +98,7 @@ class TrustedDomainHelper implements ITrustedDomainHelper {
return true;
}
// Reject misformed domains in any case
- if (strpos($domain,'-') === 0 || strpos($domain,'..') !== false) {
+ if (strpos($domain, '-') === 0 || strpos($domain, '..') !== false) {
return false;
}
// Match, allowing for * wildcards