diff options
| author | 2017-11-11 12:21:41 +0100 | |
|---|---|---|
| committer | 2017-11-11 12:21:41 +0100 | |
| commit | 07fa243bf24f0c4bef2df612a316e8d58907dc8a (patch) | |
| tree | 41771c8056ab28d1455e2fd1be3f06fcd88e73cc /p/api/greader.php | |
| parent | db44b4850785d0fa92d3174bf53f37120ae2fce6 (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/api/greader.php')
| -rw-r--r-- | p/api/greader.php | 2 |
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', |
