[vlc-devel] commit: Use xml_encode instead of htmlspecialchars ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Mar 31 19:26:58 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 31 20:25:05 2009 +0300| [7dda82fec1edba2b324fd6924bf1803b3a51a7a3] | committer: Rémi Denis-Courmont
Use xml_encode instead of htmlspecialchars
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7dda82fec1edba2b324fd6924bf1803b3a51a7a3
---
share/http/requests/browse.xml | 2 +-
share/http/requests/vlm.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/share/http/requests/browse.xml b/share/http/requests/browse.xml
index cc295d1..e9e78f2 100644
--- a/share/http/requests/browse.xml
+++ b/share/http/requests/browse.xml
@@ -29,7 +29,7 @@
<vlc id="rpn" param1="'dir' url_extract" />
<vlc id="foreach" param1="file" param2="directory" />
<vlc id="if" param1="file.basename value '.' 1 strncmp 0 != file.basename value '..' 2 strncmp 0 = |" />
- <element type="<vlc id="value" param1="file.type" />" size="<vlc id="value" param1="file.size" />" date="<vlc id="value" param1="file.date" />" path="<vlc id="value" param1="file.name value htmlspecialchars" />" name="<vlc id="value" param1="file.basename value htmlspecialchars" />" extension="<vlc id="value" param1="file.ext value htmlspecialchars" />" />
+ <element type="<vlc id="value" param1="file.type" />" size="<vlc id="value" param1="file.size" />" date="<vlc id="value" param1="file.date" />" path="<vlc id="value" param1="file.name value xml_encode" />" name="<vlc id="value" param1="file.basename value xml_encode" />" extension="<vlc id="value" param1="file.ext value xml_encode" />" />
<vlc id="end" />
<vlc id="end" />
<vlc id="end" />
diff --git a/share/http/requests/vlm.xml b/share/http/requests/vlm.xml
index bd7804e..05561ce 100644
--- a/share/http/requests/vlm.xml
+++ b/share/http/requests/vlm.xml
@@ -31,7 +31,7 @@
<output><vlc id="value" param1="el.output" /></output>
<inputs>
<vlc id="foreach" param1="in" param2="el.inputs" />
- <input><vlc id="value" param1="in value htmlspecialchars" /></input>
+ <input><vlc id="value" param1="in value xml_encode" /></input>
<vlc id="end" />
</inputs>
<options>
@@ -51,7 +51,7 @@
<output><vlc id="value" param1="el.output" /></output>
<inputs>
<vlc id="foreach" param1="in" param2="el.inputs" />
- <input><vlc id="value" param1="in value htmlspecialchars" /></input>
+ <input><vlc id="value" param1="in value xml_encode" /></input>
<vlc id="end" />
</inputs>
<options>
More information about the vlc-devel
mailing list