diff --git a/src/mibew/libs/common.php b/src/mibew/libs/common.php index fec34eca..3cb568f6 100644 --- a/src/mibew/libs/common.php +++ b/src/mibew/libs/common.php @@ -859,7 +859,7 @@ function sanitize_reg_escape($string) function safe_htmlspecialchars($string) { - $string = preg_replace('/[\x00-\x08\x10-\x1f\x0b]/', '', $string); + $string = preg_replace('/[\x00-\x08\x0b\x0c\x0e-\x1f]/', '', $string); return htmlspecialchars($string, ENT_QUOTES); }