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

@ -183,7 +183,7 @@ pandora.ui.listInfo = function() {
$icon = Ox.Element('<img>')
.attr({
src: list
? '/' + folderItem.toLowerCase() + '/' + list + '/icon256.jpg?' + Ox.uid()
? '/' + folderItem.toLowerCase() + '/' + encodeURI(list) + '/icon256.jpg?' + Ox.uid()
: '/static/png/icon.png'
})
.css(getIconCSS())