mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-28 14:08:45 -04:00
Fix API custom favicon (#9409)
This commit is contained in:
1 parent
522c560922
commit
da9dc448c6
1 file changed
+2
-2
+2
-2
@@ -357,13 +357,13 @@ final class GReaderAPI {
|
||||
'label' => htmlspecialchars_decode($cat->name(), ENT_QUOTES),
|
||||
],
|
||||
],
|
||||
//'sortid' => $feed->name(),
|
||||
//'sortid' => htmlspecialchars_decode($feed->name(), ENT_QUOTES),
|
||||
//'firstitemmsec' => 0,
|
||||
'url' => htmlspecialchars_decode($feed->url(), ENT_QUOTES),
|
||||
'htmlUrl' => htmlspecialchars_decode($feed->website(), ENT_QUOTES),
|
||||
'iconUrl' => str_replace(
|
||||
'/api/greader.php/reader/api/0/subscription', '', // Security if base_url is not set properly
|
||||
$feed->favicon(absolute: true)),
|
||||
htmlspecialchars_decode($feed->favicon(absolute: true), ENT_QUOTES)),
|
||||
'frss:priority' => match ($feed->priority()) {
|
||||
FreshRSS_Feed::PRIORITY_IMPORTANT => FreshRSS_Export_Service::PRIORITY_IMPORTANT,
|
||||
FreshRSS_Feed::PRIORITY_MAIN_STREAM => FreshRSS_Export_Service::PRIORITY_MAIN_STREAM,
|
||||
|
||||
Reference in new issue
Block a user