From 345fa15ea741e60dd1a57ed9c4ff314844770d2b Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 1 Oct 2004 15:19:12 +0000 Subject: [PATCH] Merged from stable --- mod/resource/type/directory/resource.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/resource/type/directory/resource.class.php b/mod/resource/type/directory/resource.class.php index f1c14a1139..f17c47b1c0 100644 --- a/mod/resource/type/directory/resource.class.php +++ b/mod/resource/type/directory/resource.class.php @@ -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"; -- 2.39.5