Modify ↓
Opened 14 years ago
Last modified 14 years ago
#9843 new defect
Non existing Wiki pages should return 404.
Reported by: | AP² | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | general | Version: | |
Severity: | minor | Keywords: | 404 |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When a request is made to a non-existent wiki pages (for example: http://trac.edgewall.org/wiki/doesnotexist), a 200 OK code is returned. Shouldn't it return 404?
Attachments (0)
Note:
See TracTickets
for help on using tickets.
See also #2118.
I think it would be fine to return a 404 for a missing page even when the page creation "prompt" is shown, but we don't have a convenient way to do this now (successfully rendered pages return a 200). Something to keep in mind when refactoring
IRequestHandler.process_request
…