#32874: Allow URLValidator to accept schema relative URLs
-------------------------------------+-------------------------------------
Reporter: Maciej Strömich | Owner: Charlie
| Overton
Type: New feature | Status: assigned
Component: Core (Other) | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* type: Bug => New feature
* component: Uncategorized => Core (Other)
Comment:
The
[https://github.com/django/django/blob/bbb3965826c91406b94b819af7315ea1d39ec217/django/core/validators.py#L94
default list of accepted schemes] is `['http', 'https', 'ftp', 'ftps']`,
so I wouldn't call this a bug. I guess the question is whether or not
there should be a way to allow schema relative URLs (assuming adding `//`
to schemes don't already work, I haven't tried it).
--
Ticket URL: <https://code.djangoproject.com/ticket/32874#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.7126824766f30db19b693a75187cb60d%40djangoproject.com.