* (bug 8673) Minor fix for web service API content-type header
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 18 Jan 2007 00:01:20 +0000 (00:01 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 18 Jan 2007 00:01:20 +0000 (00:01 +0000)
RELEASE-NOTES
includes/api/ApiFormatBase.php

index 738606c..a57e6a7 100644 (file)
@@ -117,6 +117,8 @@ lighter making things easier to read.
   it with a new global switch : $wgCommandLineDarkBg
 * Sanitizer now correctly escapes lonely '>' occuring before the first wikitag.
 * Ignore self closing on closing tags ( '</div />' now gives '</div>') 
+* (bug 8673) Minor fix for web service API content-type header
+
 
 == Languages updated ==
 
index d3a7a79..1ed71a6 100644 (file)
@@ -81,7 +81,7 @@ abstract class ApiFormatBase extends ApiBase {
                if (is_null($mime))
                        return; // skip any initialization
 
-               header("Content-Type: $mime; charset=utf-8;");
+               header("Content-Type: $mime; charset=utf-8");
 
                if ($isHtml) {
 ?>