From 7db1ec149339b46364e3209f2b81e76108bdde39 Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Tue, 17 Oct 2017 18:18:56 +0000 Subject: [PATCH] bugfixing setup.php --- include/tools.php | 3 +-- version.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/tools.php b/include/tools.php index 232d58d..d0b171d 100644 --- a/include/tools.php +++ b/include/tools.php @@ -45,8 +45,7 @@ function isProcessRunning($processname) { } function clean($string) { - - return preg_replace('/[^A-Za-z0-9\-\/\ \.\_]/', '', $string); // Removes special chars. + return preg_replace('/[^A-Za-z0-9\-\/\ \.\_\>\&]/', '', $string); // Removes special chars. } function createConfigLines() { diff --git a/version.php b/version.php index 0d89e0a..9559fa7 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@