Commit f94e53d3 authored by Rob Jonson's avatar Rob Jonson Committed by Rémi Denis-Courmont

uri should be made from path without special xml chars currently, html...

uri should be made from path without special xml chars currently, html entities are being inserted in the uri
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent d6083f05
......@@ -389,12 +389,12 @@ getbrowsetable = function ()
element["path"]=path
element["name"]=name
local uri=vlc.strings.make_uri(path)
local uri=vlc.strings.make_uri(df)
--windows paths are returned with / separators, but make_uri expects \ for windows and returns nil
if not uri then
--convert failed path to windows format and try again
path=string.gsub(path,"/","\\")
uri=vlc.strings.make_uri(path)
uri=vlc.strings.make_uri(df)
end
element["uri"]=uri
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment