aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-11-11 12:21:41 +0100
committerGravatar GitHub <noreply@github.com> 2017-11-11 12:21:41 +0100
commit07fa243bf24f0c4bef2df612a316e8d58907dc8a (patch)
tree41771c8056ab28d1455e2fd1be3f06fcd88e73cc /p
parentdb44b4850785d0fa92d3174bf53f37120ae2fce6 (diff)
Fix link encoding in API (#1686)
https://github.com/FreshRSS/FreshRSS/issues/1683 https://github.com/Alkarex/EasyRSS/issues/35
Diffstat (limited to 'p')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 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',