Skip to content

[Bug] Referencing to an unexists issue #20224

Open
@renbaoshuo

Description

@renbaoshuo

Description

When the referenced issue does not exist, Gitea will still give a link to the non-existing issue.

Demo: https://try.gitea.io/baoshuo/issue-ref/commits/branch/main

Neither GitHub nor GitLab have this bug.

Gitea Version

1.18.0+dev-58-g9d9bf66c3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Snipaste_2022-07-04_10-24-15

Git Version

No response

Operating System

No response

How are you running Gitea?

https://try.gitea.io/

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions