Skip to content

Mentioning should check if the user exists #3444

Closed
@kolaente

Description

@kolaente
  • Gitea version (or commit ref): 1.4.0-rc1
  • Can you reproduce the bug at https://try.gitea.io:
    • Probably

Description

When mentioning someone in an issue or pr, it doesn't seem to matter if the user exists or not. For example, when I mention someone @NonexistentUser, Gitea still creates a link from it, leading to a 404 page. It shold check if the user exists and only create the link if it does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions