diff options
author | montellese <montellese@xbmc.org> | 2012-05-12 16:21:35 +0200 |
---|---|---|
committer | Jonathan Marshall <jmarshall@never.you.mind> | 2012-05-13 22:22:10 +1200 |
commit | 805ab67a2d9c50c61e225ecb7a765ea820c0d8d8 (patch) | |
tree | bd2858c5b97abad1d78e64df0ba703d06338625e /addons/webinterface.default/js/MediaLibrary.js | |
parent | a50296812b7b34cfc5fe8fa6c78b6c390dd2dc55 (diff) |
[webinterface.default] make sure to URL-encode any image-paths returned by JSON-RPC when calling http://<ip>:<port>/vfs/
Diffstat (limited to 'addons/webinterface.default/js/MediaLibrary.js')
-rwxr-xr-x | addons/webinterface.default/js/MediaLibrary.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/webinterface.default/js/MediaLibrary.js b/addons/webinterface.default/js/MediaLibrary.js index 1033cc71bc..64b0a40e2e 100755 --- a/addons/webinterface.default/js/MediaLibrary.js +++ b/addons/webinterface.default/js/MediaLibrary.js @@ -454,7 +454,7 @@ MediaLibrary.prototype = { } }, getThumbnailPath: function(thumbnail) { - return thumbnail ? ('/vfs/' + thumbnail) : DEFAULT_ALBUM_COVER; + return thumbnail ? ('/image/' + encodeURI(thumbnail)) : DEFAULT_ALBUM_COVER; }, generateThumb: function(type, thumbnail, title, artist) { var floatableAlbum = $('<div>'); |