You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this. I think this is more of a docs bug, as we defer to the URL Rust Crate for URL validity decisions. I've added this to the current milestone as a docs issue.
Initial Checks
Description
Using Pydantic 2.7.1 HttpUrl accepts URLs without TLDs.
From the Pydantic code comment:
A type that will accept any http or https URL.
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: