mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 15:15:56 +00:00
fix escaping of entry_author for simplepie (closes #190)
This commit is contained in:
@@ -882,6 +882,8 @@
|
|||||||
$entry_author_item = $item->get_author();
|
$entry_author_item = $item->get_author();
|
||||||
$entry_author = $entry_author_item->get_name();
|
$entry_author = $entry_author_item->get_name();
|
||||||
if (!$entry_author) $entry_author = $entry_author_item->get_email();
|
if (!$entry_author) $entry_author = $entry_author_item->get_email();
|
||||||
|
|
||||||
|
$entry_author = db_escape_string($entry_author);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$entry_comments = strip_tags($item["comments"]);
|
$entry_comments = strip_tags($item["comments"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user