summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2016-02-23 21:57:11 +0100
committerFelix Dörre <felix@dogcraft.de>2016-02-23 21:57:11 +0100
commit1a39b4e976c6aa9882ca00b0a12b5c35469933fe (patch)
tree45e05aef5016728d048c13583d5b8ef40311756c
parent1374c014b5e396b38fb199da62e5482f300b4737 (diff)
downloadcacert-devel-bug-1412.tar.gz
cacert-devel-bug-1412.tar.xz
cacert-devel-bug-1412.zip
bug 1412: by the way... secure the whois call betterbug-1412
-rw-r--r--includes/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index 5d45602..1977037 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -577,7 +577,7 @@ function buildSubjectFromSession() {
$addy = array();
$adds = array();
if(strtolower(substr($newdom, -4, 3)) != ".jp")
- $adds = explode("\n", trim(`/usr/bin/whois $newdom|grep "@"`));
+ $adds = explode("\n", trim(`/usr/bin/whois -- $newdom|grep "@"`));
if(substr($newdomain, -4) == ".org" || substr($newdomain, -5) == ".info")
{
if(is_array($adds))