Ticket #102 (closed defect: fixed)

Opened 4 years ago

Last modified 9 months ago

Use HTTP response codes correctly

Reported by: dom Owned by: dom
Priority: normal Milestone:
Component: openguides Version: svn
Severity: normal Keywords: hackfestsummer2007-reviewed
Cc:

Description

For example, if I try to visit action=about when that action isn't defined, I should get an HTTP 404 or similar, rather than an HTML message about node not being found.

Change History

Changed 4 years ago by dom

  • status changed from new to assigned
  • milestone set to 0.54

Changed 3 years ago by dom

  • milestone 0.58 deleted

Changed 3 years ago by dom

  • owner dom deleted
  • status changed from assigned to new

Changed 3 years ago by dom

  • owner set to Nobody

Changed 3 years ago by dom

  • keywords hackfestsummer2007-confirmed added
  • owner changed from Nobody to dom
  • status changed from new to assigned

There are a couple of strands to this eg 404 for non-existent nodes (with the same "would you like to create this page") and redirects for unknown URL params in general. More investigation to find out what this affects, and possibly discussion about how it should behave.

Changed 3 years ago by dom

  • keywords hackfestsummer2007-reviewed added; hackfestsummer2007-confirmed removed

Changed 3 years ago by dom

(In [1054]) Add support in output routine for specifying HTTP status code (see #102)

Changed 3 years ago by dom

(In [1057]) If an unknown action is used redirect to action=display, preserving other args (see #102)

Changed 3 years ago by dom

The final part of this needs #193 to happen first.

Changed 9 months ago by dom

  • status changed from assigned to closed
  • resolution set to fixed

(In [1271]) Return HTTP 404 status when displaying a node that doens't exist (fixes #102)

Note: See TracTickets for help on using tickets.