From f599c2ef82d576b1ce9d816eb34281d399da97d5 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 17 Nov 2017 15:55:33 +0300 Subject: [PATCH] Fix ACME options validation --- src/ejabberd_acme.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ejabberd_acme.erl b/src/ejabberd_acme.erl index 0d54918d9..eb0a340da 100644 --- a/src/ejabberd_acme.erl +++ b/src/ejabberd_acme.erl @@ -1211,11 +1211,11 @@ opt_type(acme) -> fun({ca_url, URL}) -> URL1 = binary_to_list(URL), {ok, _} = http_uri:parse(URL1), - URL1; + {ca_url, URL1}; ({contact, Contact}) -> [<<_, _/binary>>, <<_, _/binary>>] = binary:split(Contact, <<":">>), - Contact + {contact, Contact} end, L) end; opt_type(_) ->