From 450b4b4fc11bf1f1a59438c066ff91a3646edc9a Mon Sep 17 00:00:00 2001 From: Daku Date: Tue, 31 Jan 2012 15:00:06 +0000 Subject: [PATCH] url_escape for mp3 filename --- contrib/handle_mp3/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/handle_mp3/theme.php b/contrib/handle_mp3/theme.php index 0239b522..953f9a19 100644 --- a/contrib/handle_mp3/theme.php +++ b/contrib/handle_mp3/theme.php @@ -4,7 +4,7 @@ class MP3FileHandlerTheme extends Themelet { public function display_image(Page $page, Image $image) { $data_href = get_base_href(); $ilink = $image->get_image_link(); - $fname = $image->filename; //Most of the time this will be the title/artist of the song. + $fname = url_escape($image->filename); //Most of the time this will be the title/artist of the song. $html = "