mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
secureserver.pl: support for stunnel-path with nun-alphanum chars
This is desired to support stunnel installations on Windows.
This commit is contained in:
parent
8fc4abedf1
commit
4fc8d83f5f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user