Edgewall Software

Opened 11 years ago

Last modified 11 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:


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)

Change History (1)

comment:1 by Christian Boos, 11 years ago

Keywords: 404 added
Milestone: next-major-0.1X

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

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.