[vlc-devel] [PATCH 1/7] uri should be made from path without special xml chars currently, html entities are being inserted in the uri
Rob Jonson
rob at hobbyistsoftware.com
Tue Sep 27 11:45:27 CEST 2011
---
share/lua/intf/modules/httprequests.lua | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/lua/intf/modules/httprequests.lua b/share/lua/intf/modules/httprequests.lua
index bb34de4..8e7bcc6 100644
--- a/share/lua/intf/modules/httprequests.lua
+++ b/share/lua/intf/modules/httprequests.lua
@@ -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
--
1.7.5
More information about the vlc-devel
mailing list