Import feed->description en HTML

Ne pas protéger feed->description à l'import OPML, car c'est
potentiellement du HTML. Il faudrait faire du sanitize néanmoins.
pull/326/head
Alexandre Alapetite 11 years ago
parent daefb8f095
commit f3a50c3ce8
  1. 2
      lib/lib_rss.php

@ -236,7 +236,7 @@ function getFeed ($outline, $cat_id) {
$feed->_website(htmlspecialchars((string)$outline['htmlUrl'], ENT_QUOTES, 'UTF-8'));
}
if (isset($outline['description'])) {
$feed->_description(htmlspecialchars((string)$outline['description'], ENT_QUOTES, 'UTF-8'));
$feed->_description((string)$outline['description']);
}
return $feed;
}

Loading…
Cancel
Save