Skip to content

Misformatted gravatar URLs #3068

@ethantkoenig

Description

@ethantkoenig
  • Gitea version (or commit ref): master
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

If gravatar is enabled, but no federated avatar service is used, then the avatar URLs for organizations sometime have misformatted query parameters. This is because we naively append ?s=(size) to the end of avatar URLs, which may already query parameters. I will have a fix soon.

Screenshots

bad_avatar
bad_avatar_url

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions