r91153 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91152‎ | r91153 | r91154 >
Date:01:44, 30 June 2011
Author:reedy
Status:ok (Comments)
Tags:
Comment:
* (bug 29531) r89628 breaks img_auth.php

Apply Tims strpos -> strrpos fix, confirmed to work by bug reporter
Modified paths:
  • /trunk/phase3/img_auth.php (modified) (history)

Diff [purge]

Index: trunk/phase3/img_auth.php
@@ -46,7 +46,7 @@
4747 $path = $matches['title'];
4848
4949 // Check for bug 28235: QUERY_STRING overriding the correct extension
50 -$dotPos = strpos( $path, '.' );
 50+$dotPos = strrpos( $path, '.' );
5151 $whitelist = array();
5252 if ( $dotPos !== false ) {
5353 $whitelist[] = substr( $path, $dotPos + 1 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r91440* Merged r89628 from 1.17: bug 28840 IE URL extension fixes....tstarling06:35, 5 July 2011
r91531MFT r91153 plus release notes: img_auth.php fixtstarling07:31, 6 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89628Merge r89627 from 1.18, equivalent to trunk r89558, r89397, etc.: bug 28840 I...tstarling07:00, 7 June 2011

Comments

#Comment by Tim Starling (talk | contribs)   03:33, 6 July 2011

Should have had an entry in RELEASE-NOTES-1.18.

#Comment by Tim Starling (talk | contribs)   03:37, 6 July 2011

Never mind.

Status & tagging log