fix(cert_manager): check host on SNI callback
Python Lint CI / ruff (push) Successful in 1m22s
Python Lint CI / ruff-format-check (push) Successful in 1m23s
Python Lint CI / ty (push) Successful in 1m23s
Docker CI / docker-build (push) Successful in 2m27s
Python Test CI / coverage (push) Successful in 3m4s
Python Lint CI / ruff (push) Successful in 1m22s
Python Lint CI / ruff-format-check (push) Successful in 1m23s
Python Lint CI / ty (push) Successful in 1m23s
Docker CI / docker-build (push) Successful in 2m27s
Python Test CI / coverage (push) Successful in 3m4s
This commit is contained in:
@@ -192,7 +192,7 @@ class CertManager:
|
||||
_: ssl.SSLSocket,
|
||||
/,
|
||||
) -> None | int:
|
||||
if host is None:
|
||||
if host is None or not valid_host(host):
|
||||
return None
|
||||
self.logger.debug("servername callback: %s", host)
|
||||
if not self.exists(host) and not self.create_or_update(host):
|
||||
|
||||
Reference in New Issue
Block a user