* Add 'charset' to Content-Type headers on various HTTP error responses
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 21 Feb 2007 01:02:47 +0000 (01:02 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 21 Feb 2007 01:02:47 +0000 (01:02 +0000)
commit2d5ac3c276413fe42ebda673019c7fcdf4b2c878
treed18a4ddf3b7d6911cb3dfc4cb16d686e45b67dcc
parent6479ad2cda6af326fd58390b8a0ca7a43b5460fe
* Add 'charset' to Content-Type headers on various HTTP error responses
  to forestall additional UTF-7-autodetect XSS issues. Probably not an
  issue on Apache 2.0+, but most servers send only 'text/html' by default
  when the script didn't specify more details.
    This fixes an issue with the Ajax interface error message on MSIE when
  $wgUseAjax is enabled (not default configuration); this UTF-7 variant
  on a previously fixed attack vector was discovered by Moshe BA from BugSec:
  http://www.bugsec.com/articles.php?Security=24

* Trackback responses now specify XML content type
RELEASE-NOTES
img_auth.php
includes/AjaxDispatcher.php
includes/EditPage.php
includes/GlobalFunctions.php
includes/Metadata.php
includes/OutputPage.php
includes/StreamFile.php
thumb.php
trackback.php