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
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -112,7 +112,12 @@ while(@ARGV) {
    }
    elsif($ARGV[0] eq '--stunnel') {
        if($ARGV[1]) {
            if($ARGV[1] =~ /^([\w\/]+)$/) {
                $stunnel = $ARGV[1];
            }
            else {
                $stunnel = "\"". $ARGV[1] ."\"";
            }
            shift @ARGV;
        }
    }