Merge pull request #41673 from nextcloud/Valdnet-patch-1

Correct spelling
This commit is contained in:
Andy Scherzinger 2023-11-23 09:18:28 +01:00 committed by GitHub
commit 27f96722f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class ForwardedForHeaders implements ISetupCheck {
}
public function getName(): string {
return $this->l10n->t('Forwared for headers');
return $this->l10n->t('Forwarded for headers');
}
public function run(): SetupResult {
@ -56,7 +56,7 @@ class ForwardedForHeaders implements ISetupCheck {
$detectedRemoteAddress = $this->request->getRemoteAddress();
if (!\is_array($trustedProxies)) {
return SetupResult::error($this->l10n->t('Your trusted_proxies setting is not correctly set, it should be an array.'));
return SetupResult::error($this->l10n->t('Your "trusted_proxies" setting is not correctly set, it should be an array.'));
}
if (($remoteAddress === '') && ($detectedRemoteAddress === '')) {