From 870f04f257a54bcecce171542329819b4db0537c Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 11 Jan 2020 05:39:46 +0000 Subject: improve special char treatment --- search_cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){ -- cgit v1.2.3