From d305622d9a5956f6d900694854df4d0f29eba4e5 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 1 Feb 2004 23:43:42 +0000 Subject: [PATCH] Fixing issue with IE not showing thumbs with non-ASCII-chars in their name --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.20.1