Redirect to user/org avatar for /[username].png #22355
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
GitHub has this feature that allows you to get redirected to any user's avatar by simply adding
.png
to their profile URL (e.g. https://github.com/go-gitea.png)It would be fantastic if Gitea could do the same thing. Interestingly, Gitea already checks for a URL like this as of #18798, but instead of returning anything useful, it just returns the text
Not Found
(not even the fancy 404 page).If this seems like a good idea, I can get a pull request going right away.
Screenshots
No response
The text was updated successfully, but these errors were encountered: