Skip to content

[1.22.0] Avatars in @ mentions not loaded with Gitea in subpath #31546

Closed
@FrostKiwi

Description

@FrostKiwi

Description

Regression by updating from 1.21.5 to 1.22.0: Avatars are invisible and have broken URLs when typing an @ mention, see screenshot below.

Gitea is hosted as a sub-path. Not domain.com but domain.com/git
app.ini is configured to handle this:

[server]
SSH_DOMAIN = domain.net/git
DOMAIN = domain.net/git
HTTP_PORT = 3000
ROOT_URL = https://domain.net/git/

There have been a multitude of issues from time to time with Gitea being configured as a sub-path, with various files either missing or having a doubled sub path in their path and thus being unreachable.

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

Installed via Binary

Database

None

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