[vlc-devel] commit: replace & -> & , quick fix for status working with fileinfos with & in them. ( Ilkka Ollakka )

git version control git at videolan.org
Wed Jul 23 14:33:54 CEST 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Jul 23 15:33:57 2008 +0300| [65ae4d0381d7448d2644c87684ec503e1152b457]

replace & -> &, quick fix for status working with fileinfos with & in them.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65ae4d0381d7448d2644c87684ec503e1152b457
---

 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 0021001..007b7ae 100644
--- a/share/lua/http/requests/status.xml
+++ b/share/lua/http/requests/status.xml
@@ -122,7 +122,7 @@ local vout = input and vlc.object.find(input,'vout','child')
       for k, v in pairs(info) do
         print("<category name='"..k.."'>")
           for k2, v2 in pairs(v) do
-            print("<info name='"..k2.."'>"..v2.."</info>")
+            print("<info name='"..k2.."'>"..v2.replace('&','&').."</info>")
           end
         print("</category>")
       end




More information about the vlc-devel mailing list