]> git.wh0rd.org Git - tt-rss.git/commitdiff
sanitize_tag: block single quote symbol
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 4 Apr 2011 09:46:44 +0000 (13:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 4 Apr 2011 09:46:44 +0000 (13:46 +0400)
functions.php

index 3ed2a1966fb8925a2a20e52b62455daf5eca32f1..7c3e8d0a30134390fe92502431b049c945ef60f3 100644 (file)
 
                $tag = mb_strtolower($tag, 'utf-8');
 
-               $tag = preg_replace('/[\"\+\>\<]/', "", $tag);
+               $tag = preg_replace('/[\'\"\+\>\<]/', "", $tag);
 
 //             $tag = str_replace('"', "", $tag);
 //             $tag = str_replace("+", " ", $tag);