Просмотр исходного кода

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.
Alexandre Alapetite 12 лет назад
Родитель
Сommit
f3a50c3ce8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/lib_rss.php

+ 1 - 1
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;
 }