You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This filter is being used in admin/inc/security_functions.php, function var_out($var, $filter = "special").
To avoid using (and even mentioning) it, my suggestion for a small change inside the function:
Omit key "string" in $aryFilter, and in this case, go to htmlspecialchars() instead. admin/inc/security_functions.php (lines 315 - 329):
The text was updated successfully, but these errors were encountered:
redflitzi
changed the title
PHP 8.1: FILTER_SANITIZE_STRING is deprecated, use htmlentities() instead
PHP 8.1: FILTER_SANITIZE_STRING is deprecated, use htmlspecialchars() instead
Sep 26, 2022
This filter is being used in
admin/inc/security_functions.php
, functionvar_out($var, $filter = "special")
.To avoid using (and even mentioning) it, my suggestion for a small change inside the function:
Omit key "string" in $aryFilter, and in this case, go to htmlspecialchars() instead.
admin/inc/security_functions.php (lines 315 - 329):
See also https://www.php.net/manual/en/filter.filters.sanitize.php
The text was updated successfully, but these errors were encountered: