Permalink
Browse files

Clean text for category->name

  • Loading branch information...
1 parent b430433 commit f85e2d3767d5d25e428e2d1ddbc2bd8b55eb979b stronk7 committed Oct 1, 2004
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/glossary/editcategories.php
View
2 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

0 comments on commit f85e2d3

Please sign in to comment.