Incorrect navigation to Releases page #14477

Closed
opened 2025-11-02 11:13:58 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @badhezi on GitHub (May 12, 2025).

Description

  1. Navigate to a repository and select a specific branch (e.g main)
  2. Click the Releases link on the right hand side of the screen
  3. 404, navigates to {repo}/src/branch/main/releases instead of {repo}/releases

Gitea Version

gitea.com

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Image Image

Git Version

gitea.com

Operating System

No response

How are you running Gitea?

It's gitea.com

Database

None

Originally created by @badhezi on GitHub (May 12, 2025). ### Description 1. Navigate to a repository and select a specific branch (e.g main) 2. Click the Releases link on the right hand side of the screen 3. 404, navigates to `{repo}/src/branch/main/releases` instead of `{repo}/releases` ### Gitea Version gitea.com ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots <img width="1485" alt="Image" src="https://github.com/user-attachments/assets/2638e4ed-33c9-4896-8ef6-af459d942344" /> <img width="1361" alt="Image" src="https://github.com/user-attachments/assets/89cbd485-c57c-4ba8-abfe-1ba6bc6cedff" /> ### Git Version gitea.com ### Operating System _No response_ ### How are you running Gitea? It's gitea.com ### Database None
GiteaMirror added the type/bug label 2025-11-02 11:13:58 -06:00
Author
Owner

@silverwind commented on GitHub (May 12, 2025):

Does not seem to reproduce for me on https://gitea.com/gitea/act or locally, the link is already to <repo>/releases:

<a class="item muted" href="/gitea/act/releases">
	Releases
	<span class="ui small label">28</span>
</a>
@silverwind commented on GitHub (May 12, 2025): Does not seem to reproduce for me on https://gitea.com/gitea/act or locally, the link is already to `<repo>/releases`: ```html <a class="item muted" href="/gitea/act/releases"> Releases <span class="ui small label">28</span> </a> ```
Author
Owner

@badhezi commented on GitHub (May 12, 2025):

@silverwind weird, this reproduce for me very consistently both on gitea.com and locally on latest commit. (also on mobile)
I guess we can wait for more feedback.
this is what i get in gitea.com, of course you must click it when browser is on https://gitea.com/gitea/act/src/branch/main

<a class="item muted" href="/gitea/act/src/branch/main/releases">
	Releases
	<span class="ui small label">28</span>
</a>
@badhezi commented on GitHub (May 12, 2025): @silverwind weird, this reproduce for me very consistently both on gitea.com and locally on latest commit. (also on mobile) I guess we can wait for more feedback. this is what i get in gitea.com, of course you must click it when browser is on https://gitea.com/gitea/act/src/branch/main ``` <a class="item muted" href="/gitea/act/src/branch/main/releases"> Releases <span class="ui small label">28</span> </a> ```
Author
Owner

@lunny commented on GitHub (May 12, 2025):

https://gitea.com/gitea/act/src/branch/main

I can reproduce it. Clicking the releases under the right sidebar

@lunny commented on GitHub (May 12, 2025): > https://gitea.com/gitea/act/src/branch/main I can reproduce it. Clicking the `releases` under the right sidebar
Author
Owner

@badhezi commented on GitHub (May 12, 2025):

@lunny https://github.com/go-gitea/gitea/pull/34436 resolves this, easy fix.

@badhezi commented on GitHub (May 12, 2025): @lunny https://github.com/go-gitea/gitea/pull/34436 resolves this, easy fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14477