Replies: 10 comments 10 replies
-
are you taking any new suggestions? |
Beta Was this translation helpful? Give feedback.
-
Constructive ones, please go ahead. |
Beta Was this translation helpful? Give feedback.
-
--- # Define a list of valid URI schemes => VALID_SCHEMES = ['http', 'https', 'ftp', 'mailto', 'file']
|
Beta Was this translation helpful? Give feedback.
-
is it something we should do? |
Beta Was this translation helpful? Give feedback.
-
Something similar yeah. |
Beta Was this translation helpful? Give feedback.
-
can I take up the challenge :)? |
Beta Was this translation helpful? Give feedback.
-
Sure, go ahead. |
Beta Was this translation helpful? Give feedback.
-
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?
|
Beta Was this translation helpful? Give feedback.
-
IP addresses are already validated in |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestions are welcome:
validators/src/validators/uri.py
Lines 24 to 41 in cdc987d
Beta Was this translation helpful? Give feedback.
All reactions