r91531 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91530‎ | r91531 | r91532 >
Date:07:31, 6 July 2011
Author:tstarling
Status:ok
Tags:
Comment:
MFT r91153 plus release notes: img_auth.php fix
Modified paths:
  • /branches/REL1_17/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_17/phase3/img_auth.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/img_auth.php
@@ -49,7 +49,7 @@
5050 }
5151
5252 // Check for bug 28235: QUERY_STRING overriding the correct extension
53 -$dotPos = strpos( $path, '.' );
 53+$dotPos = strrpos( $path, '.' );
5454 $whitelist = array();
5555 if ( $dotPos !== false ) {
5656 $whitelist[] = substr( $path, $dotPos + 1 );
Property changes on: branches/REL1_17/phase3/img_auth.php
___________________________________________________________________
Modified: svn:mergeinfo
5757 Merged /trunk/phase3/img_auth.php:r91153
Index: branches/REL1_17/phase3/RELEASE-NOTES
@@ -41,9 +41,11 @@
4242 client-side scripts on WebKit-based browsers.
4343 * Fixed a bug in message transformation where the previous language could leak
4444 into later transformations in the UI language.
45 -* (bug 29091) Fix form of native name for Ossetic language (Иронау -> Ирон)
 45+* (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
4646 * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
4747 work at all since 1.17 beta 1.
 48+* (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
 49+ multiple dots, was broken by the fix for bug 28840.
4850
4951 === Changes since 1.17.0rc1 ===
5052

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91153* (bug 29531) r89628 breaks img_auth.php...reedy01:44, 30 June 2011

Status & tagging log