diff --git a/lib/horde/framework/Horde/Variables.php b/lib/horde/framework/Horde/Variables.php index cf0a8431595..ffb3782fd90 100644 --- a/lib/horde/framework/Horde/Variables.php +++ b/lib/horde/framework/Horde/Variables.php @@ -335,8 +335,8 @@ class Horde_Variables implements ArrayAccess, Countable, IteratorAggregate } return is_array($val) - ? filter_var_array($val, FILTER_SANITIZE_STRING) - : filter_var($val, FILTER_SANITIZE_STRING); + ? filter_var_array($val, FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_FLAG_NO_ENCODE_QUOTES) + : filter_var($val, FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_FLAG_NO_ENCODE_QUOTES); } /* Protected methods. */ diff --git a/lib/horde/readme_moodle.txt b/lib/horde/readme_moodle.txt index df47b9f2377..27ca459aee9 100644 --- a/lib/horde/readme_moodle.txt +++ b/lib/horde/readme_moodle.txt @@ -13,6 +13,10 @@ Description of import of Horde libraries passing in your path to Horde (the directory you've cloned the repository): /tmp/copyhorde.sh ~/git/base/directory/from/step/2 + +Notes: +* 2023-01-20 Applied patch https://github.com/horde/Util/pull/10 + ==== #!/bin/sh