Index: trunk/phase3/thumb.php |
— | — | @@ -178,7 +178,7 @@ |
179 | 179 | // Check that the zone relative path matches up so squid caches won't pick |
180 | 180 | // up thumbs that would not be purged on source file deletion (bug 34231). |
181 | 181 | if ( isset( $params['rel404'] ) // thumbnail was handled via 404 |
182 | | - && $params['rel404'] !== $img->getThumbRel( $thumbName ) ) |
| 182 | + && urldecode( $params['rel404'] ) !== $img->getThumbRel( $thumbName ) ) |
183 | 183 | { |
184 | 184 | wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' ); |
185 | 185 | wfProfileOut( __METHOD__ ); |