Last modified: 2013-03-07 20:17:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26144, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24144 - Invalid action page should probably not have HTTP status 200
Invalid action page should probably not have HTTP status 200
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.21.x
All All
: Low normal (vote)
: Future release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-27 22:00 UTC by Tim
Modified: 2013-03-07 20:17 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim 2010-06-27 22:00:07 UTC
Calling index.php with an invalid action, such as this:

  http://en.wikipedia.org/w/index.php?title=Main_Page&action=invalidaction

should probably return an HTTP status code which indicates an error, such as 400, rather than success:

  HTTP/1.0 200 OK
Comment 1 Krinkle 2012-01-01 23:31:15 UTC
Yes indeed. Any suggestion for a HTTP status code ?
Comment 2 Mark A. Hershberger 2012-09-30 16:12:59 UTC
400 Bad Request seems appropriate.  Probably won't be done in time for tarball, though.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links