From: Lorenzo Pistone Date: Sun, 18 Sep 2011 10:28:34 +0000 (+0200) Subject: cue.lua: fix double URL encoding of directory name X-Git-Tag: 1.2.0-pre1~686 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7ffe01c7df0cca88e71b9079b961d05aee9b08de;p=vlc cue.lua: fix double URL encoding of directory name Signed-off-by: Pierre Ynard --- diff --git a/share/lua/playlist/cue.lua b/share/lua/playlist/cue.lua index b7f5078ebe..57215e0f83 100644 --- a/share/lua/playlist/cue.lua +++ b/share/lua/playlist/cue.lua @@ -49,7 +49,7 @@ function cue_path( src ) return src end - local path = string.gsub( vlc.path, '\\', '/' ) + local path = string.gsub( vlc.strings.decode_uri(vlc.path), '\\', '/' ) local slash = string.find( string.reverse( path ), '/' ) if( path == nil ) then return src