summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index e047f6ca9..91d395678 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -29,6 +29,13 @@ function search_page() {
if (user_access("search content")) {
/*
+ ** Verify the user input:
+ */
+
+ $type = check_input($type);
+ $keys = check_input($keys);
+
+ /*
** Construct the search form:
*/
@@ -88,4 +95,4 @@ function search_page() {
}
}
-?> \ No newline at end of file
+?>