Index: branches/REL1_17/phase3/img_auth.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | } |
51 | 51 | |
52 | 52 | // Check for bug 28235: QUERY_STRING overriding the correct extension |
53 | | -$dotPos = strpos( $path, '.' ); |
| 53 | +$dotPos = strrpos( $path, '.' ); |
54 | 54 | $whitelist = array(); |
55 | 55 | if ( $dotPos !== false ) { |
56 | 56 | $whitelist[] = substr( $path, $dotPos + 1 ); |
Property changes on: branches/REL1_17/phase3/img_auth.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
57 | 57 | Merged /trunk/phase3/img_auth.php:r91153 |
Index: branches/REL1_17/phase3/RELEASE-NOTES |
— | — | @@ -41,9 +41,11 @@ |
42 | 42 | client-side scripts on WebKit-based browsers. |
43 | 43 | * Fixed a bug in message transformation where the previous language could leak |
44 | 44 | 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 (Иронау -> Ирон) |
46 | 46 | * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not |
47 | 47 | 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. |
48 | 50 | |
49 | 51 | === Changes since 1.17.0rc1 === |
50 | 52 | |