From af4da56f1ad4d3ef7b06557bae365da2ea27a897 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 14 Nov 2013 23:19:13 +0100 Subject: Update to MediaWiki 1.21.3 --- includes/specials/SpecialUploadStash.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/specials') diff --git a/includes/specials/SpecialUploadStash.php b/includes/specials/SpecialUploadStash.php index ddf0c6da..066dcfc9 100644 --- a/includes/specials/SpecialUploadStash.php +++ b/includes/specials/SpecialUploadStash.php @@ -303,6 +303,8 @@ class SpecialUploadStash extends UnlistedSpecialPage { header( "Content-Type: $contentType", true ); header( 'Content-Transfer-Encoding: binary', true ); header( 'Expires: Sun, 17-Jan-2038 19:14:07 GMT', true ); + // Bug 53032 - It shouldn't be a problem here, but let's be safe and not cache + header( 'Cache-Control: private' ); header( "Content-Length: $size", true ); } -- cgit v1.2.2