summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-28 19:06:27 +0100
committerAlib <aliboba@free.fr>2010-02-28 19:06:27 +0100
commitefe265e1742e568c257478fae6bf8aed64c8a362 (patch)
treec2d54138ed830ad36ef62a42eff8ec6715af60ae
parent57c3019cd2f8f28add55baee1fec97b2ee5c5d4b (diff)
downloadistreamdev-efe265e1742e568c257478fae6bf8aed64c8a362.tar.gz
istreamdev-efe265e1742e568c257478fae6bf8aed64c8a362.tar.bz2
handling recursive directory browsing with '
-rwxr-xr-xincludes/inc_video.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/inc_video.php b/includes/inc_video.php
index b117cb8..dc3f8e0 100755
--- a/includes/inc_video.php
+++ b/includes/inc_video.php
@@ -71,7 +71,7 @@ if ($medianame_array[0])
print "<form name=\"$value\" id=\"$value\" method=\"post\" action=\"index.php\">";
print " <input name=\"action\" type=\"hidden\" id=\"action\" value=\"video\"/>";
print " <input name=\"mediapath\" type=\"hidden\" id=\"mediapath\" value=\"{$mediapath}\" />";
- print " <input name=\"subdir\" type=\"hidden\" id=\"subdir\" value=\"{$subdir}{$value}\" />\r\n";
+ print " <input name=\"subdir\" type=\"hidden\" id=\"subdir\" value=\"" . stripslashes($subdir) . stripslashes($value) . "\" />\r\n";
print "</form>\r\n";
break;
}