Bump Pydantic in the lockfile (#1041)

This commit is contained in:
Mohamed Amine Zghal 2025-06-27 16:41:17 +01:00 • committed by GitHub
commit 7942184336
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,11 @@ def validate_issuer_url(url: AnyHttpUrl):
"""
# RFC 8414 requires HTTPS, but we allow localhost HTTP for testing
if url.scheme != "https" and url.host != "localhost" and not url.host.startswith("127.0.0.1"):
if (
url.scheme != "https"
and url.host != "localhost"
and (url.host is not None and not url.host.startswith("127.0.0.1"))
):
raise ValueError("Issuer URL must be HTTPS")
# No fragments or query parameters allowed