MDL-75946 lib_horde: Fixed deprecated FILTER_SANITIZE_STRING
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user