diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-06 14:34:28 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-06 14:34:28 -0400 |
commit | 5aaae0e32e633c01bb757afba98b74885fa9a443 (patch) | |
tree | bb509d26f96046211cd7e544b064f92065d540c6 /usr/local/www/diag_dns.php | |
parent | 0f08affeb4289531bc519a2f0d7d5ba7400a401f (diff) | |
download | pfsense-5aaae0e32e633c01bb757afba98b74885fa9a443.zip pfsense-5aaae0e32e633c01bb757afba98b74885fa9a443.tar.gz |
Do not escape strings twice
Diffstat (limited to 'usr/local/www/diag_dns.php')
-rw-r--r-- | usr/local/www/diag_dns.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_dns.php b/usr/local/www/diag_dns.php index e68fbc8..ec42233 100644 --- a/usr/local/www/diag_dns.php +++ b/usr/local/www/diag_dns.php @@ -131,7 +131,7 @@ if ($_POST) { $type = "hostname"; $resolved = gethostbyname($host); if($resolved) { - $dig=`dig "$host_esc" A | grep "$host_esc" | grep -v ";" | awk '{ print $5 }'`; + $dig=`dig $host_esc A | grep $host_esc | grep -v ";" | awk '{ print $5 }'`; $resolved = split("\n", $dig); } $hostname = $host; |