mirror of
https://github.com/curl/curl.git
synced 2026-06-19 17:56:26 +03: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
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue