diff options
Diffstat (limited to 'includes/general.php')
-rw-r--r-- | includes/general.php | 3 |
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--; |