mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
add check to gen_https_names to make sure domains contains a list of strings
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user