mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
Add lookahead for ip check in AnyUrl (#2512)
This commit is contained in:
committed by
GitHub
parent
9cc19e9a8e
commit
08fc8302cf
@@ -0,0 +1,2 @@
|
||||
Add lookahead to ip regexes for `AnyUrl` hosts. This allows urls with DNS labels
|
||||
looking like IPs to validate as they are perfectly valid host names.
|
||||
Reference in New Issue
Block a user