]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Maintenance.php
Security: Use htmlspecialchars() for user input in Arguments class
[friendica.git] / src / Module / Maintenance.php
index 05540a228b94618a739e2e542942489116832dbf..412723db318d89ffdfe1eb5a0e49ead59f372e61 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -45,7 +45,7 @@ class Maintenance extends BaseModule
 
                $exception = new HTTPException\ServiceUnavailableException($reason);
 
-               header($_SERVER["SERVER_PROTOCOL"] . ' ' . $exception->getCode() . ' ' . DI::l10n()->t('System down for maintenance'));
+               header($_SERVER['SERVER_PROTOCOL'] . ' ' . $exception->getCode() . ' ' . DI::l10n()->t('System down for maintenance'));
 
                $tpl = Renderer::getMarkupTemplate('exception.tpl');