A free, self-hostable news aggregator…
Fix link encoding in API (#1686)
Alexandre Alapetite07fa243bf24f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b74efe42f..d7f045397 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,8 @@## 2017-1X-XX FreshRSS 1.8.1-dev+* API+ * Breaking change / compatibility fix (EasyRSS): Provide `link` to articles without HTML-encoding [#1683](https://github.com/FreshRSS/FreshRSS/issues/1683)* Features* Share with Mastodon [#1521](https://github.com/FreshRSS/FreshRSS/issues/1521)* UIdiff --git a/p/api/greader.php b/p/api/greader.phpindex b87fcc225..f086ee442 100644--- a/p/api/greader.php+++ b/p/api/greader.php@@ -517,7 +517,7 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex'title' => $entry->title(),'summary' => array('content' => $entry->content()),'alternate' => array(- array('href' => $entry->link()),+ array('href' => htmlspecialchars_decode($entry->link(), ENT_QUOTES)),),'categories' => array('user/-/state/com.google/reading-list',