Skip to content

Redirect to user/org avatar for /[username].png #22355

Closed
@crystalcommunication

Description

@crystalcommunication

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions