summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-03-18 23:33:33 +0100
committerBenny Baumann <BenBE@geshi.org>2014-03-18 23:33:33 +0100
commit7dc9f2b4fbc39bb5cfb1f6b1428f2824a621fa05 (patch)
treeb59772f9a9d826e955deff9b8bd5671f81636820
parentd5432de9373b851e78fe9a6cb1f34119e42a1984 (diff)
downloadcacert-devel-7dc9f2b4fbc39bb5cfb1f6b1428f2824a621fa05.tar.gz
cacert-devel-7dc9f2b4fbc39bb5cfb1f6b1428f2824a621fa05.tar.xz
cacert-devel-7dc9f2b4fbc39bb5cfb1f6b1428f2824a621fa05.zip
bug 1070: Fix problem with literal interpretation of the provided search stringbug-1070
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
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<br/>";
$shellpwd = escapeshellarg($pwd);
- $do = `grep $shellpwd /usr/share/dict/american-english`;
+ $do = `grep -F -- $shellpwd /usr/share/dict/american-english`;
if($do)
$points--;