diff options
-rw-r--r-- | modules-available/baseconfig/inc/configholder.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/baseconfig/inc/configholder.inc.php b/modules-available/baseconfig/inc/configholder.inc.php index e5856128..224f2aab 100644 --- a/modules-available/baseconfig/inc/configholder.inc.php +++ b/modules-available/baseconfig/inc/configholder.inc.php @@ -131,7 +131,7 @@ class ConfigHolder */ private static function escape($string) { - return str_replace("'", "'\"'\"'", $string); + return str_replace(["'", "\n", "\r"], ["'\"'\"'", ' ', ' '], $string); } } |