summaryrefslogtreecommitdiff
path: root/includes/general.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-08-21 23:43:10 +0200
committerMichael Tänzer <neo@nhng.de>2012-08-21 23:43:10 +0200
commita980e8aa7a6c3612fb884a051cc8125b3e4811d3 (patch)
tree09106406f297ad9e04ce0d4c66f0c2e3bcb25432 /includes/general.php
parentfbd8753eaefa54c9ddfff57647f6bb5405281177 (diff)
downloadcacert-devel-a980e8aa7a6c3612fb884a051cc8125b3e4811d3.tar.gz
cacert-devel-a980e8aa7a6c3612fb884a051cc8125b3e4811d3.tar.xz
cacert-devel-a980e8aa7a6c3612fb884a051cc8125b3e4811d3.zip
Source code taken from cacert-20120810.tar.bz2
Diffstat (limited to 'includes/general.php')
-rw-r--r--includes/general.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index 9e2b131..3478dd4 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -215,7 +215,8 @@
//echo "Points due to name matches: $points<br/>";
- $do = `grep '$pwd' /usr/share/dict/american-english`;
+ $shellpwd = escapeshellarg($pwd);
+ $do = `grep $shellpwd /usr/share/dict/american-english`;
if($do)
$points--;