Wrong link to PR in user/org level project causes 404 #11385

Closed
opened 2025-11-02 09:36:14 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @nblock on GitHub (Aug 1, 2023).

Description

The project view of user/org based projects also displays a link to PRs. The link to this PR does not include the path to the individual repository but consists only of the path /pulls/$ID. Clicking on this link causes a 404.

The link should point to: https://gitea.example.com/org/repo/pulls/123 but it points to https://gitea.example.com/pulls/123.

Gitea Version

1.20.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

git version 2.39.2

Operating System

Debian 12

How are you running Gitea?

Official release supervised by systemd.

Database

PostgreSQL

Originally created by @nblock on GitHub (Aug 1, 2023). ### Description The project view of user/org based projects also displays a link to PRs. The link to this PR does not include the path to the individual repository but consists only of the path `/pulls/$ID`. Clicking on this link causes a 404. The link should point to: <https://gitea.example.com/org/repo/pulls/123> but it points to <https://gitea.example.com/pulls/123>. ### Gitea Version 1.20.2 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/131119/8a9d78d2-2751-42e1-96be-c145b59d1a21) ### Git Version git version 2.39.2 ### Operating System Debian 12 ### How are you running Gitea? Official release supervised by systemd. ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:36:15 -06:00
Author
Owner

@delvh commented on GitHub (Aug 1, 2023):

Duplicate of #23318

@delvh commented on GitHub (Aug 1, 2023): Duplicate of #23318
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11385