encodeURI(listname) before making it part of image URLs

This commit is contained in:
rolux 2013-08-14 19:09:53 +00:00
commit ab9172526b
3 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ pandora.ui.folderBrowserList = function(id, section) {
clickable: true,
format: function(value) {
return $('<img>').attr({
src: '/list/' + value + '/icon.jpg'
src: '/list/' + encodeURI(value) + '/icon.jpg'
}).css({
width: '14px',
height: '14px',