]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not allow commas in tags
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 22:22:44 +0000 (01:22 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 22:22:44 +0000 (01:22 +0300)
include/functions2.php

index e0b9e24adcc1013dcc2c3380d4c078bfa99d8619..2c31338834a0e4aa247163d12ac26114b8d24a1c 100644 (file)
 
                $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);