Closed
Description
- Gitea version (or commit ref): 1.4.0
- Git version: 2.1.4
- Operating system: Debian 8
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant: does not work
Description
Scenario: I, user joe
, forked repository repo
of another user called upstream
.
Now, if I am on joe/repo and click on the green compare button, everything works as expected and I see the "Compare Changes" window. However, this doesn't work on upstream/repo, there I see a 404 error.
I noted that the 404 does not appear if I'm owner of the upstream repository's organisation.
The links of the button look like this:
https://git.example.org/upstream/repo/compare/master...joe:master
from forked repo -> works
https://git.example.org/upstream/repo/compare/master...upstream:master
from upstream repo -> doesn't work
I cannot check how the links looked like in 1.3, but I was told by a user on my Gitea instance that it worked before.