Skip to content

Avatars not visible in commit view when no-reply address is configured to the real domain #34882

Open
@smartEBL

Description

@smartEBL

Description

This is basically the same problem as being reported by #33595

There are two observations:

  • The icons (custom ones) are not correctly displayed - nearly all of them show the "default" one. This happens in the commit view in the "Code" tab of a repo, as well as in the commit view of any Pull request.
  • The link behind the commit author is broken and will lead to a 404 page.

In our setup we use ldap for authentication. The gitea usernames are lastname, while the email addresses are firstname.lastname@company.bla.
The link created for a user will be http://gitea:3000/firstname lastname - which does not exist. Instead it should be http://gitea:3000/lastname.

In some cases this link creation works - if the user misconfigured his git email address to lastname@company.bla instead of firstname.lastname@company.bla.

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Image

Git Version

2.49.0

Operating System

Ubuntu 22.04

How are you running Gitea?

Gitea 1.24.2 via docker compose with SQLite database

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions