Author: ziba
Description:
I've found in mediawikis 1.9.3 and 1.10.0 that images do not display if there is a space in the in the url before the arguments.
This is caused by the use of wfUrlencode in includes/Image.php:function imageUrl(). The urlencode function is only for the "query part of a URL" - php.net. Because the whole image url is passed through urlencode, the spaces in the base url get changed to +. This breaks the display of and link to every image.
I recommend ending imageUrl() with:
return $url;
rather than
return wfUrlencode( $url );
Version: unspecified
Severity: major