From: Andrew Dolgov Date: Wed, 13 Feb 2008 09:27:09 +0000 (+0100) Subject: fix escaping of entry_author for simplepie (closes #190) X-Git-Tag: 1.2.20~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d1ee9106e935688e63aa824a9519451a2e09771b;p=tt-rss.git fix escaping of entry_author for simplepie (closes #190) --- diff --git a/functions.php b/functions.php index 22ea8cb6..1ca8169a 100644 --- a/functions.php +++ b/functions.php @@ -882,6 +882,8 @@ $entry_author_item = $item->get_author(); $entry_author = $entry_author_item->get_name(); if (!$entry_author) $entry_author = $entry_author_item->get_email(); + + $entry_author = db_escape_string($entry_author); } } else { $entry_comments = strip_tags($item["comments"]);