mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +00:00
do not allow commas in tags
This commit is contained in:
@@ -1483,7 +1483,7 @@
|
|||||||
|
|
||||||
$tag = mb_strtolower($tag, 'utf-8');
|
$tag = mb_strtolower($tag, 'utf-8');
|
||||||
|
|
||||||
$tag = preg_replace('/[\'\"\+\>\<]/', "", $tag);
|
$tag = preg_replace('/[,\'\"\+\>\<]/', "", $tag);
|
||||||
|
|
||||||
if (DB_TYPE == "mysql") {
|
if (DB_TYPE == "mysql") {
|
||||||
$tag = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $tag);
|
$tag = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $tag);
|
||||||
|
|||||||
Reference in New Issue
Block a user