[vlc-commits] lua http: fix slash stripping
Pierre Ynard
git at videolan.org
Thu Feb 24 23:14:09 CET 2011
vlc/vlc-1.1 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Feb 24 23:05:07 2011 +0100| [2b6a84c2b49c33ddb446cf6b5740d7265e9b92e3] | committer: Pierre Ynard
lua http: fix slash stripping
(cherry picked from commit c482dc5576eff200f77c4e77af40eb41ecaacacd)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2b6a84c2b49c33ddb446cf6b5740d7265e9b92e3
---
share/lua/http/requests/status.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/share/lua/http/requests/status.xml b/share/lua/http/requests/status.xml
index 123861f..1c84fc1 100644
--- a/share/lua/http/requests/status.xml
+++ b/share/lua/http/requests/status.xml
@@ -38,7 +38,7 @@ end
---[[]] vlc.msg.err("requests/status.xml got:","input: "..tostring(input),"command: "..tostring(command),"id: "..tostring(id),"val: "..tostring(val))
local function stripslashes(s)
- return string.gsub(s,"\\(%.)","%1")
+ return string.gsub(s,"\\(.)","%1")
end
local status = vlc.playlist.status()
More information about the vlc-commits
mailing list