do not allow commas in tags
This commit is contained in:
parent
ac4c1383ae
commit
0e4da73f06
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue