-
Notifications
You must be signed in to change notification settings - Fork 157
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 Validation: Add support for other schemes apart from https, http, ftp #327
Comments
Apart from these, do you have any other protocols in mind that follows a similar |
Thanks for replying! I have nothing more to add to the list. |
Opening the issue again, would it be possible to parse all the available schemes from IANA available here instead of hardcoding a list ? Like it's already being done for the TLDS |
Would be impractical. Hence to cover as much as possible #352 exists. |
is this feature still live? |
What are you referring to specifically? |
Hey @yozachar here -> "feature add non-exhaustive Url validation" |
Yes |
Given in the documentation link, the validator does not return
True
if I use a different scheme such asrtmp
orrtsp
.An example of this is
rtmp://192.168.1.123:1935/live/test
If I run this code:
The output is:
ValidationError(func=url, args={'value': 'rtmp://192.168.1.123:1935/live/test'})
It would be nice if the URL validator supports other schemes. Thanks.
The text was updated successfully, but these errors were encountered: