mirror of
https://github.com/certbot/certbot.git
synced 2026-03-26 20:33:47 -04:00
add check to gen_https_names to make sure domains contains a list of strings
This commit is contained in:
parent
db52caa7e9
commit
be0408dc24
1 changed files with 3 additions and 1 deletions
|
|
@ -273,7 +273,9 @@ def gen_https_names(domains):
|
|||
result = result + "and "
|
||||
if len(domains) == 2:
|
||||
return "https://" + domains[0] + " and https://" + domains[1]
|
||||
result = result + "https://" + domains[len(domains)-1]
|
||||
|
||||
if domains:
|
||||
result = result + "https://" + domains[len(domains)-1]
|
||||
return result
|
||||
|
||||
def challenge_factory(r, req_filepath, key_filepath, config):
|
||||
|
|
|
|||
Loading…
Reference in a new issue