From f85e2d3767d5d25e428e2d1ddbc2bd8b55eb979b Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 1 Oct 2004 09:49:06 +0000 Subject: [PATCH] Clean text for category->name --- mod/glossary/editcategories.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/glossary/editcategories.php b/mod/glossary/editcategories.php index da00f5eb832..cc360e597e8 100644 --- a/mod/glossary/editcategories.php +++ b/mod/glossary/editcategories.php @@ -14,6 +14,8 @@ optional_variable($name); // confirm the action + $name = clean_text($name); + $action = strip_tags(urldecode($action)); //XSS $hook = strip_tags(urldecode($hook)); //XSS $mode = strip_tags(urldecode($mode)); //XSS