From 1ec8274103af9f67174a3055c095d76a0b4cc3e4 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 7 Jun 2017 06:00:33 +0200
Subject: Fix regex to match original behaviour
---
acme-tinier.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acme-tinier.pl b/acme-tinier.pl
index 0ed35e2..266e4ac 100755
--- a/acme-tinier.pl
+++ b/acme-tinier.pl
@@ -134,7 +134,7 @@ for my $domain (@domains) {
my ($challenge) = grep { $_->{type} eq 'http-01' }
@{$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 $known_path = "$acme_dir/$token";
--
cgit v1.2.3-70-g09d2