#5398 - Ensure error pages return correct HTTP status codes

  • By
  • Added
  • 0 views
Identifier #5398
Issue type Minor issue (breaks specific functionality)
Title Ensure error pages return correct HTTP status codes
Status Open
Tags

Roadmap: v11 (custom)

Handling member Deleted
Addon General / Uncategorised
Description Some pages are not returning appropriate HTTP codes.

For example, directly going to index.php?page=join&type=step2 shows an error to the user that they must first agree to the rules etc. However, the status returned is 500 internal server error. It should not be a 500; as it is a client mistake, it should be a 400 error of some sort, such as 400 Bad Request.

Make sure other pages don't give misleading status errors.
Steps to reproduce

Additional information Important because status codes impact SEO.

v10 does the same 500 error for index.php?page=join&type=step2
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated