bug 33646 Badtitle error page now emits a 400 HTTP status.
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 25 Jan 2012 10:51:37 +0000 (10:51 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 25 Jan 2012 10:51:37 +0000 (10:51 +0000)
commita15b11d3a5fa5d736f1c17e219b1e33369601307
tree6fd41e853544375cdddc4f899cf5801ce45ecc8b
parent3065ece7a20f1333396b32b199524f3f96eb54c3
bug 33646 Badtitle error page now emits a 400 HTTP status.

Sending a 200 OK status on bad title, prevents mobile browsers to
actually now the page is an error page.

Tested using:
 curl -I http://localhost/wiki/\]\]
 curl -I http://localhost/wiki/Special:BadTitle
RELEASE-NOTES-1.19
includes/Exception.php
includes/Wiki.php