diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-04-16 15:16:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-04-16 15:18:17 +0300 |
commit | 3a9ca11ba6a8cede2beb7c28036137f9f4efc0ba (patch) | |
tree | d3e1bcfdaea8329bd708db74c98cdf8c157926f7 | |
parent | 9d4b801aec884cd2c36390008baef23159473a31 (diff) | |
download | acmeman-3a9ca11ba6a8cede2beb7c28036137f9f4efc0ba.tar.gz acmeman-3a9ca11ba6a8cede2beb7c28036137f9f4efc0ba.tar.bz2 |
Bugfix
* lib/App/Acmeman/Source/Apache.pm (examine_http_config): Ignore
trailing whitespace in LetsEncryptReference.
-rw-r--r-- | lib/App/Acmeman/Source/Apache.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Acmeman/Source/Apache.pm b/lib/App/Acmeman/Source/Apache.pm index c4a0570..047f9f9 100644 --- a/lib/App/Acmeman/Source/Apache.pm +++ b/lib/App/Acmeman/Source/Apache.pm @@ -137,7 +137,7 @@ sub examine_http_config { } else { $self->error("$file:$line: LetsEncryptChallenge and LetsEncryptReference can't be used together"); } - } elsif (/^(?:(?i)Use)\s+LetsEncryptReference\s+(.+)\s*$/) { + } elsif (/^(?:(?i)Use)\s+LetsEncryptReference\s+(.+?)\s*$/) { if ($state == STATE_VIRTUAL_HOST) { $state = STATE_USE_REFERENCE; $reference = $1; |