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 = "