Skip to content

Gitea returns a 500 when searching for %00 #296

@Bwko

Description

@Bwko
  • Gitea version (or commit ref): 27d6685
  • Git version: 2.10.2
  • Operating system: Arch linux
  • Database:
    • PostgreSQL 9.6.1 en_US.utf8
    • MySQL
    • SQLite
  • Log gist: 2016/11/28 23:43:28 [...itea/routers/home.go:93 RenderRepoSearch()] [E] SearchRepositoryByName: Count: pq: invalid byte sequence for encoding "UTF8": 0x00

Go to your local Gitea server, enter %00 behind ?q= (like http://localhost/explore/repos?q=%00) and Gitea returns a 500 error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions