summaryrefslogtreecommitdiffstats
path: root/src/search_functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/search_functions.php')
-rw-r--r--src/search_functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search_functions.php b/src/search_functions.php
index acd7f3c..5ad2e5d 100644
--- a/src/search_functions.php
+++ b/src/search_functions.php
@@ -358,7 +358,7 @@ function main()
$sorted = run_query($query);
// Now output the HTML stuff...
// End the HTML form
- end_form(preg_replace("/[^a-zA-Z0-9\-\_\.]/i", " ", $query ));
+ end_form(preg_replace("/[^a-zA-Z0-9\-\_\.\x80-\xFF]/i", " ", $query ));
// report results to the user
report_results($sorted);
end_page();