do not allow commas in tags

This commit is contained in:
Andrew Dolgov 2015-07-13 01:22:44 +03:00
parent ac4c1383ae
commit 0e4da73f06

View file

@ -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);