From 0e4da73f06a2d30ecd02b185d21671ed44737631 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Jul 2015 01:22:44 +0300 Subject: [PATCH] do not allow commas in tags --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions2.php b/include/functions2.php index e0b9e24a..2c313388 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1483,7 +1483,7 @@ $tag = mb_strtolower($tag, 'utf-8'); - $tag = preg_replace('/[\'\"\+\>\<]/', "", $tag); + $tag = preg_replace('/[,\'\"\+\>\<]/', "", $tag); if (DB_TYPE == "mysql") { $tag = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $tag); -- 2.39.5