encodeURI(listname) before making it part of image URLs

This commit is contained in:
rolux 2013-08-14 19:12:59 +00:00
commit 356a4b4505
4 changed files with 5 additions and 5 deletions

View file

@ -561,7 +561,7 @@ pandora.ui.home = function() {
function getImageURL(item) {
return '/' + item.type + '/' + item.user
+ ':' + item.name + '/icon256.jpg?' + item.modified;
+ ':' + encodeURI(item.name) + '/icon256.jpg?' + item.modified;
}
function getTooltip(item) {