]> git.sesse.net Git - vlc/blobdiff - share/http/requests/browse.xml
Don't leak memory when something goes wrong.
[vlc] / share / http / requests / browse.xml
index 3202557d5fe21a9a8c5dd29eac88661cda4ece4f..3b420f0ab8cd716f2135a7ad5e8e6a6f24933394 100644 (file)
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="<vlc id="value" param1="charset"/>" standalone="yes" ?>
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <vlc id="if" param1="0"/>
 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
-<  status.xml: VLC media player web interface
+<  browse.xml: VLC media player web interface
 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
 <  Copyright (C) 2005-2006 the VideoLAN team
 <  $Id$
@@ -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.size" />" path="<vlc id="value" param1="file.name value htmlspecialchars" />" name="<vlc id="value" param1="file.basename 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 htmlspecialchars" />" name="<vlc id="value" param1="file.basename value htmlspecialchars" />" />
     <vlc id="end" />
   <vlc id="end" />
 <vlc id="end" />