Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
FrostKiwi opened this issue Jul 3, 2024 · 2 comments
Closed

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

FrostKiwi opened this issue Jul 3, 2024 · 2 comments
Labels

Comments

@FrostKiwi
Copy link

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

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Jul 4, 2024

It has been fixed in 1.22-nightly and 1.22.1

Fix duplicate sub-path for avatars (#31365) #31368

@yp05327
Copy link
Contributor

yp05327 commented Jul 4, 2024

As this has been fixed, I will close this issue. Feel free to reopen it if you have any questions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants