Commit 6985e629 authored by dsnopek's avatar dsnopek Committed by dsnopek

Issue #2888223 by dsnopek: [search404] Add D6 patch for SA-CONTRIB-2017-053

parent de284eb8
diff --git a/search404.module b/search404.module
index cbddd89..93657dc 100644
--- a/search404.module
+++ b/search404.module
@@ -237,7 +237,7 @@ function search404_page() {
else {
$search_form = drupal_get_form('search_form', NULL, $keys, $type_search);
}
- $output = variable_get('search404_page_text', '') . $search_form . $search_suggestions . $results;
+ $output = filter_xss_admin(variable_get('search404_page_text', '')) . $search_form . $search_suggestions . $results;
}
// This was done to display sidebars left and right of page,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment