mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix ACME options validation
This commit is contained in:
parent
b2680a776b
commit
f599c2ef82
@ -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(_) ->
|
||||
|
Loading…
Reference in New Issue
Block a user