diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-08 03:55:58 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-08 03:55:58 +0400 |
commit | fc2718d880c37f4fd91fa4824b3b956d6326e1c0 (patch) | |
tree | 60cab6363ff2c19ac27bff3ab4398081efb5f05a /core/Config.php | |
parent | fbda5abfcd843eee8d4c33621bdd8e4390b46ddc (diff) |
refs #5409 #341 #5349 if a config value contains a dollar sign convert it to an html entity to prevent it being interpreted as a PHP variable. This allows us to remove the RAW ini parser flag which causes trouble on some PHP versions as the parser seems to be buggy.
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Config.php b/core/Config.php index 1f91d554f0..c2ee88b119 100644 --- a/core/Config.php +++ b/core/Config.php @@ -383,6 +383,7 @@ class Config extends Singleton } } else { $values = htmlentities($values, ENT_COMPAT, 'UTF-8'); + $values = str_replace('$', '$', $values); } return $values; } |