Commit 7dda82fe authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use xml_encode instead of htmlspecialchars

parent e8d31048
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<vlc id="rpn" param1="'dir' url_extract" /> <vlc id="rpn" param1="'dir' url_extract" />
<vlc id="foreach" param1="file" param2="directory" /> <vlc id="foreach" param1="file" param2="directory" />
<vlc id="if" param1="file.basename value '.' 1 strncmp 0 != file.basename value '..' 2 strncmp 0 = |" /> <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" /> <vlc id="end" />
<vlc id="end" /> <vlc id="end" />
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<output><vlc id="value" param1="el.output" /></output> <output><vlc id="value" param1="el.output" /></output>
<inputs> <inputs>
<vlc id="foreach" param1="in" param2="el.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" /> <vlc id="end" />
</inputs> </inputs>
<options> <options>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<output><vlc id="value" param1="el.output" /></output> <output><vlc id="value" param1="el.output" /></output>
<inputs> <inputs>
<vlc id="foreach" param1="in" param2="el.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" /> <vlc id="end" />
</inputs> </inputs>
<options> <options>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment