summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-13 01:22:44 +0300
committerAndrew Dolgov <[email protected]>2015-07-13 01:22:44 +0300
commit0e4da73f06a2d30ecd02b185d21671ed44737631 (patch)
tree153999d54c23cff3d785ff85cf9164bcb0e74273 /include
parentac4c1383ae3b1af7be056b1f75c8125b272b0e5f (diff)
do not allow commas in tags
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index e0b9e24ad..2c3133883 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);