From: Andrew Dolgov Date: Sat, 25 Aug 2007 07:27:14 +0000 (+0100) Subject: simplepie: properly escape feed title X-Git-Tag: 1.2.15~52 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c2f8aac43133e8c7e2ca09891e641b9e3e98c3f8;p=tt-rss.git simplepie: properly escape feed title --- diff --git a/functions.php b/functions.php index f3f82d31..d12120a6 100644 --- a/functions.php +++ b/functions.php @@ -499,7 +499,7 @@ 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"]); }