]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Logs/Settings.php
Some removed escapeTags calls
[friendica.git] / src / Module / Admin / Logs / Settings.php
index 7730b487da24d90d81ad1a7f70c599eec7154c68..b0fcaebc33117d00e07a34870cd7681e6dff4233 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -39,7 +39,7 @@ class Settings extends BaseAdmin
 
                self::checkFormSecurityTokenRedirectOnError('/admin/logs', 'admin_logs');
 
-               $logfile   = (!empty($_POST['logfile']) ? Strings::escapeTags(trim($_POST['logfile'])) : '');
+               $logfile   = (!empty($_POST['logfile']) ? trim($_POST['logfile']) : '');
                $debugging = !empty($_POST['debugging']);
                $loglevel  = ($_POST['loglevel'] ?? '') ?: LogLevel::ERROR;