From: Andrew Dolgov Date: Sun, 12 Jul 2015 22:22:44 +0000 (+0300) Subject: do not allow commas in tags X-Git-Tag: 16.3~232^2~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0e4da73f06a2d30ecd02b185d21671ed44737631;p=tt-rss.git do not allow commas in tags --- 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);