Commit 56018efd authored by Leigh Stoller's avatar Leigh Stoller

Fix taint check in hostname to allow fully qualified names.

parent b30e4f95
......@@ -92,7 +92,7 @@ if (defined($options{"d"})) {
if (defined($options{"h"})) {
$hostname = $options{"h"};
if ($hostname =~ /^([-\w]+)$/) {
if ($hostname =~ /^([-\w\.]+)$/) {
$hostname = $1;
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment