1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:55:55 +00:00

fix escaping of entry_author for simplepie (closes #190)

This commit is contained in:
Andrew Dolgov
2008-02-13 10:27:09 +01:00
parent a0c42c650c
commit d1ee9106e9

View File

@@ -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"]);