]> git.wh0rd.org Git - tt-rss.git/commitdiff
simplepie: properly escape feed title
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Aug 2007 07:27:14 +0000 (08:27 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Aug 2007 07:27:14 +0000 (08:27 +0100)
functions.php

index f3f82d312f27e398439d9bf7c55f0920da54cef9..d12120a637ebfd3e90b3e8c129ae3161889cd1f3 100644 (file)
                        if (!$registered_title || $registered_title == "[Unknown]") {
 
                                if (ENABLE_SIMPLEPIE) {
-                                       $feed_title = $rss->get_title();
+                                       $feed_title = db_escape_string($rss->get_title());
                                } else {
                                        $feed_title = db_escape_string($rss->channel["title"]);
                                }