r111717 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111716‎ | r111717 | r111718 >
Date:02:04, 17 February 2012
Author:aaron
Status:ok
Tags:
Comment:
Added Content-Length header to output
Modified paths:
  • /trunk/tools/upload-scripts/thumb-handler.php (modified) (history)

Diff [purge]

Index: trunk/tools/upload-scripts/thumb-handler.php
@@ -202,6 +202,7 @@
203203
204204 header( 'ETag: ' . md5( $text ) ); // for Swift integrity checks
205205
 206+header( 'Content-Length: ' . strlen( $text ) );
206207 if ( !$contentType ) {
207208 header( 'Content-Type:' );
208209 } else {

Sign-offs

UserFlagDate
Nikerabbitinspected07:34, 17 February 2012

Status & tagging log