fix escaping of entry_author for simplepie (closes #190)
This commit is contained in:
parent
a0c42c650c
commit
d1ee9106e9
1 changed files with 2 additions and 0 deletions
|
@ -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"]);
|
||||
|
|
Loading…
Reference in a new issue