encodeURI -> encodeURIComponent

This commit is contained in:
rolux 2013-08-14 19:41:31 +00:00
commit e8d2280466
6 changed files with 10 additions and 10 deletions

View file

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