getfider / fider

Open platform to collect and prioritize feedback
https://fider.io
GNU Affero General Public License v3.0
2.75k stars 620 forks source link

[BUG] Gravatars don't work with the `/` character #1131

Closed Ik1497 closed 6 months ago

Ik1497 commented 1 year ago

Fider Cloud or Self Hosted Self hosted

Describe the bug When having a / in your username the gravatar will return a 404

To Reproduce Go to a URL without a / in the username and it works https://feedback.fider.io/static/avatars/letter/178/Working?size=50

Now go to this URL with a / and it would return a 404 error https://feedback.fider.io/static/avatars/letter/178/Not/Working?size=50

Expected behavior The expected behavior is that fider automatically removes the / in the image

Screenshots

Additional context