Fix regex to match original behaviour
This commit is contained in:
parent
b09c0c23ee
commit
1ec8274103
@ -134,7 +134,7 @@ for my $domain (@domains) {
|
|||||||
|
|
||||||
my ($challenge) = grep { $_->{type} eq 'http-01' }
|
my ($challenge) = grep { $_->{type} eq 'http-01' }
|
||||||
@{$json->decode($result)->{challenges}};
|
@{$json->decode($result)->{challenges}};
|
||||||
my $token = $challenge->{token} =~ s/[^A-Za-z0-9_-]/_/r;
|
my $token = $challenge->{token} =~ s/[^A-Za-z0-9_-]/_/gr;
|
||||||
my $key_auth = "$token.$thumbprint";
|
my $key_auth = "$token.$thumbprint";
|
||||||
my $known_path = "$acme_dir/$token";
|
my $known_path = "$acme_dir/$token";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user