From 7dc9f2b4fbc39bb5cfb1f6b1428f2824a621fa05 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 18 Mar 2014 23:33:33 +0100 Subject: bug 1070: Fix problem with literal interpretation of the provided search string --- includes/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/general.php b/includes/general.php index 3478dd4..50371bb 100644 --- a/includes/general.php +++ b/includes/general.php @@ -216,7 +216,7 @@ //echo "Points due to name matches: $points
"; $shellpwd = escapeshellarg($pwd); - $do = `grep $shellpwd /usr/share/dict/american-english`; + $do = `grep -F -- $shellpwd /usr/share/dict/american-english`; if($do) $points--; -- cgit v1.2.1