From: Andrew Dolgov Date: Mon, 4 Apr 2011 09:46:44 +0000 (+0400) Subject: sanitize_tag: block single quote symbol X-Git-Tag: 1.5.3~70 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=78ccac0bdd34cfa1f8f6c724771b12ea3554f451;p=tt-rss.git sanitize_tag: block single quote symbol --- diff --git a/functions.php b/functions.php index 3ed2a196..7c3e8d0a 100644 --- a/functions.php +++ b/functions.php @@ -5498,7 +5498,7 @@ $tag = mb_strtolower($tag, 'utf-8'); - $tag = preg_replace('/[\"\+\>\<]/', "", $tag); + $tag = preg_replace('/[\'\"\+\>\<]/', "", $tag); // $tag = str_replace('"', "", $tag); // $tag = str_replace("+", " ", $tag);