From 2ccfa04784519d23cc8c1204bfb31daaed8cddf2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 18 Jan 2007 00:01:20 +0000 Subject: [PATCH] * (bug 8673) Minor fix for web service API content-type header --- RELEASE-NOTES | 2 ++ includes/api/ApiFormatBase.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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) { ?> -- 2.20.1