-
Notifications
You must be signed in to change notification settings - Fork 155
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[feature] add non-exhausive URI validation #352
Comments
are you taking any new suggestions? |
Constructive ones, please go ahead. |
--- # Define a list of valid URI schemes => VALID_SCHEMES = ['http', 'https', 'ftp', 'mailto', 'file']
|
is it something we should do? |
Something similar yeah. |
can I take up the challenge :)? |
Sure, go ahead. |
Hey @yozachar ,can we use socket.inet_aton(ip) in python to validate ip addresses as a function then update the schema in uri.py?
|
IP addresses are already validated in |
Hi, that is cool I looked at the message thread, something about this error below , was why I thought this feature was asked for I guess, see code below.
Output: Or does it mean we just want to validate other schemas? like the ones few ones below, that I could not find in uri.py proposed schemas
Few Thoughts
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Suggestions are welcome:
validators/src/validators/uri.py
Lines 24 to 41 in cdc987d
The text was updated successfully, but these errors were encountered: