robots.txt 404 should be different #915

Closed
opened 2025-11-02 03:41:18 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @sinnlosername on GitHub (Jul 24, 2017).

  • Gitea version (or commit ref): 1.1.2 built with: bindata, sqlite
  • Operating system: Ubuntu 16.04.2 LTS
  • Database (use [x]):
    • MySQL
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
    • Site is down

Description

If there is no custom robots.txt, it will return an empty 404 instead of the default gitea 404 error.

Originally created by @sinnlosername on GitHub (Jul 24, 2017). - Gitea version (or commit ref): 1.1.2 built with: bindata, sqlite - Operating system: Ubuntu 16.04.2 LTS - Database (use `[x]`): - [x] MySQL - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - [x] Site is down ## Description If there is no custom robots.txt, it will return an empty 404 instead of the default gitea 404 error.
GiteaMirror added the type/bug label 2025-11-02 03:41:18 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#915