Don't allow any dots in the subdirectory string for directory resources Thanks Petr!

This commit is contained in:
moodler
2004-10-01 15:18:24 +00:00
parent 98cda81fcf
commit 22bb7196b0
@@ -37,7 +37,7 @@ function display() {
}
if ($subdir) {
if (detect_munged_arguments($subdir)) {
if (detect_munged_arguments($subdir, 0)) {
error("The value for 'subdir' contains illegal characters!");
}
$relativepath = "$relativepath$subdir";