From: Brion Vibber Date: Thu, 18 Jan 2007 00:01:20 +0000 (+0000) Subject: * (bug 8673) Minor fix for web service API content-type header X-Git-Tag: 1.31.0-rc.0~54319 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=2ccfa04784519d23cc8c1204bfb31daaed8cddf2;p=lhc%2Fweb%2Fwiklou.git * (bug 8673) Minor fix for web service API content-type header --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 738606c0a2..a57e6a7a1a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 ( '' now gives '') +* (bug 8673) Minor fix for web service API content-type header + == Languages updated == diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index d3a7a79c3a..1ed71a6f91 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -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) { ?>