Skip to content

Fix favicon hashing in GReader API#7573

Merged
Alkarex merged 3 commits intoedgefrom
unknown repository
May 9, 2025
Merged

Fix favicon hashing in GReader API#7573
Alkarex merged 3 commits intoedgefrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented May 9, 2025

This allows the correct iconUrl to be returned from the GReader API for a given feed.

Closes #7570

Changes proposed in this pull request:

  • Use correct hashing function for favicon URL in GReader API.

How to test the feature manually:

  1. Start a new Docker container with the latest edge branch.
  2. Enable API access.
  3. Run curl -s -H "Authorization:GoogleLogin auth=apiuser/AUTHKEY" 'HOST/api/greader.php/reader/api/0/subscription/list?output=json' and pick any feed and go to the iconUrl and observe the default icon.
  4. Switch to this branch and repeat the previous step and you should see the correct favicon for the selected feed.

Pull request checklist:

  • clear commit messages
  • code manually tested
    [N/A] unit tests written (optional if too hard)
    [N/A] documentation updated

This allows the correct iconUrl to be returned from the GReader API for
a given feed.
@ghost ghost changed the title Fix favicon hashing in GReader API (#7570) Fix favicon hashing in GReader API May 9, 2025
@Alkarex Alkarex added this to the 1.27.0 milestone May 9, 2025
@Alkarex Alkarex added the API 🤝 API for other clients label May 9, 2025
@Alkarex Alkarex added the Bug (confirmed) 🐞 issues that are reproducible label May 9, 2025
@Alkarex
Copy link
Member

Alkarex commented May 9, 2025

Thanks! I fixed a few more details. Please double-check.
And please add a line for you in https://github.com/FreshRSS/FreshRSS/blob/edge/CREDITS.md

@Alkarex Alkarex merged commit c6f09e1 into FreshRSS:edge May 9, 2025
1 check passed
@ghost ghost deleted the 7570-greader-favicon-fix branch May 9, 2025 23:27
@ghost ghost mentioned this pull request May 9, 2025
@ghost
Copy link
Author

ghost commented May 9, 2025

I've tested the edge branch with your changes and everything still works. Thank you!

Alkarex pushed a commit that referenced this pull request May 9, 2025
Add myself as a contributor for #7573.

Co-authored-by: CarelessCaution <189675655+CarelessCaution@users.noreply.github.com>
@Alkarex Alkarex modified the milestones: 1.27.0, 1.26.3 May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API 🤝 API for other clients Bug (confirmed) 🐞 issues that are reproducible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Wrong iconURL returned in GReader API in v1.26.2

1 participant