sanitize_tag: block single quote symbol

This commit is contained in:
Andrew Dolgov 2011-04-04 13:46:44 +04:00
parent 364e3c859d
commit 78ccac0bdd
1 changed files with 1 additions and 1 deletions

View File

@ -5498,7 +5498,7 @@
$tag = mb_strtolower($tag, 'utf-8'); $tag = mb_strtolower($tag, 'utf-8');
$tag = preg_replace('/[\"\+\>\<]/', "", $tag); $tag = preg_replace('/[\'\"\+\>\<]/', "", $tag);
// $tag = str_replace('"', "", $tag); // $tag = str_replace('"', "", $tag);
// $tag = str_replace("+", " ", $tag); // $tag = str_replace("+", " ", $tag);