Description
For a PR URL with a unparseable PR id like https://try.gitea.io/our-org/custom-project/pulls/[WRONGSYNTAX] the resulting PR is always the first PR in the project, instead of showing a 404 page. Constructing URLs like this can result in wrong URLs and should therefore also result in a 404 page.
...
Screenshots