r56480 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56479‎ | r56480 | r56481 >
Date:01:20, 17 September 2009
Author:brion
Status:ok
Tags:
Comment:
Merge r56474 fix for api upload filename
Modified paths:
  • /branches/wmf-deployment/includes/api/ApiUpload.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/api/ApiUpload.php
@@ -129,7 +129,7 @@
130130 if ( isset( $this->mParams['file'] ) ) {
131131 $this->mUpload = new UploadFromFile();
132132 $this->mUpload->initialize(
133 - $request->getFileName( 'file' ),
 133+ $this->mParams['filename'],
134134 $request->getFileTempName( 'file' ),
135135 $request->getFileSize( 'file' )
136136 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56474Actually use the filename supplied by the user.mrzman01:03, 17 September 2009

Status & tagging log