Skip to content
Snippets Groups Projects
Commit 4fc8d83f authored by Marc Hoersken's avatar Marc Hoersken
Browse files

secureserver.pl: support for stunnel-path with nun-alphanum chars

This is desired to support stunnel installations on Windows.
parent 8fc4abed
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,12 @@ while(@ARGV) {
}
elsif($ARGV[0] eq '--stunnel') {
if($ARGV[1]) {
$stunnel = $ARGV[1];
if($ARGV[1] =~ /^([\w\/]+)$/) {
$stunnel = $ARGV[1];
}
else {
$stunnel = "\"". $ARGV[1] ."\"";
}
shift @ARGV;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment