Skip to content

Internal Server Error when creating a repository in edge case #5772

@Larivact

Description

@Larivact

I do not have Gitea installed and discovered this very weird bug at https://try.gitea.io, which currently uses af45648.

Description

  1. Create an account
  2. Go to your account settings and set your Full Name to <Test (it needs to start with a less-than sign)
  3. Attempt to create a repository: enter a name and check Initialize Repository (Adds .gitignore, License and README) (this is important it will not fail if you do not check it). Click Create Repository.
  4. Internal Server Error 500

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