From b51551e7947739930926447df6d9a1f9a9a7eccf Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 21 Mar 2006 20:08:51 +0000 Subject: [PATCH] Some excess of security was causing Bug 4713. (http://moodle.org/bugs/bug.php?op=show&bugid=4713) Merged from MOODLE_15_STABLE --- mod/glossary/editcategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/editcategories.php b/mod/glossary/editcategories.php index 9543b02886..222a82e43f 100644 --- a/mod/glossary/editcategories.php +++ b/mod/glossary/editcategories.php @@ -8,7 +8,7 @@ $id = required_param('id', PARAM_INT); // Course Module ID, or $usedynalink = optional_param('usedynalink', 0, PARAM_INT); // category ID $confirm = optional_param('confirm', 0, PARAM_INT); // confirm the action - $name = optional_param('name', '', PARAM_ALPHANUM); // confirm the name + $name = optional_param('name', '', PARAM_CLEAN); // confirm the name $action = optional_param('action', '', PARAM_ALPHA ); // what to do $hook = optional_param('hook', '', PARAM_ALPHANUM); // category ID -- 2.39.5