#25595: Invalid regexp in URLValidator can't handle file:// schemes
------------------------------+------------------------------------
Reporter: marcinn | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------
Comment (by codingjoe):
I thinks this is both a documentation and code problem. The `URLValidator`
should raise a value error, if a unsupported schema is set. In the
documentation it should be explained with RFC 1738 schemas are supported.
Currently one gets the impression that all are.
--
Ticket URL: <https://code.djangoproject.com/ticket/25595#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.d940a79d4c97b569cb45c32c011a9262%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.