[vlc-commits] uri should be made from path without special xml chars currently, html entities are being inserted in the uri
Rob Jonson
git at videolan.org
Tue Sep 27 17:07:28 CEST 2011
vlc | branch: master | Rob Jonson <rob at hobbyistsoftware.com> | Tue Sep 27 10:45:27 2011 +0100| [f94e53d39649f89efa48888efacf143c6b478b2b] | committer: Rémi Denis-Courmont
uri should be made from path without special xml chars currently, html entities are being inserted in the uri
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f94e53d39649f89efa48888efacf143c6b478b2b
---
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
More information about the vlc-commits
mailing list