Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL http:www.google.com is passed as validated #893

Closed
bert2002 opened this issue Jan 7, 2024 · 1 comment
Closed

URL http:www.google.com is passed as validated #893

bert2002 opened this issue Jan 7, 2024 · 1 comment

Comments

@bert2002
Copy link

bert2002 commented Jan 7, 2024

Hi,
it seems that a url http:www.google.com is validated and not marked as invalid.
I opened a bug for pydantic, but they say they use your library.
Reference: pydantic/pydantic#8508

Thanks,
bert

@valenting
Copy link
Collaborator

It is a valid URL, though it is fixed to its canonical form during parsing. See the reference parser.
Any reason why it shouldn't be accepted as valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants