From: Jens Frank Date: Sun, 1 Feb 2004 23:43:42 +0000 (+0000) Subject: Fixing issue with IE not showing thumbs with non-ASCII-chars in their name X-Git-Tag: 1.3.0beta1~1037 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=d305622d9a5956f6d900694854df4d0f29eba4e5;p=lhc%2Fweb%2Fwiklou.git Fixing issue with IE not showing thumbs with non-ASCII-chars in their name --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 88ec901d03..33e3a0efd2 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -137,7 +137,7 @@ function wfImageArchiveUrl( $name, $subdir="archive" ) $hash = md5( $name ); $url = "{$wgUploadPath}/{$subdir}/" . $hash{0} . "/" . substr( $hash, 0, 2 ) . "/{$name}"; - return $url; + return wfUrlencode($url); } function wfUrlencode ( $s )