summaryrefslogtreecommitdiffstats
path: root/src/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.php')
-rw-r--r--src/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.php b/src/search.php
index 6253e67..f86184c 100644
--- a/src/search.php
+++ b/src/search.php
@@ -288,7 +288,7 @@ function main()
{
$query=$_GET["query"];
}
- end_form($query);
+ end_form(ereg_replace("[^[:alnum:]:\\.\\t ]", " ", $query ));
echo "&nbsp;\n<div class=\"searchresults\">\n";
$results = array();
$requiredWords = array();