summaryrefslogtreecommitdiff
path: root/search_cgi
diff options
context:
space:
mode:
Diffstat (limited to 'search_cgi')
-rwxr-xr-xsearch_cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/search_cgi b/search_cgi
index 68031bb..1c8b791 100755
--- a/search_cgi
+++ b/search_cgi
@@ -13,7 +13,7 @@ printlines (){
printf "Content-type: text/html\n\n"
-query=$(echo "${QUERY_STRING}" | sed -E 's/[\$^?<>@;\*`\|]//g')
+query=$(echo "${QUERY_STRING}" | sed -E 's/["\\$^?<>@;*`|/()]//g')
##func
print_head(){