]> git.sesse.net Git - vlc/commitdiff
uri should be made from path without special xml chars currently, html entities are...
authorRob Jonson <rob@hobbyistsoftware.com>
Tue, 27 Sep 2011 09:45:27 +0000 (10:45 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 27 Sep 2011 15:06:24 +0000 (18:06 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
share/lua/intf/modules/httprequests.lua

index bb34de49e65a7caa6c13fcd6df97cd6caeacc6e4..8e7bcc6b344dc94deca0e91aa1a9c840564f92ad 100644 (file)
@@ -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