#26424: Allow URLValidator to skip schemes validation
-------------------------------------+-------------------------------------
     Reporter:  Tim Graham           |                    Owner:  Baptiste
                                     |  Mispelon
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Other)         |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Baptiste Mispelon):

 * owner:  Burhan Khalid => Baptiste Mispelon
 * needs_better_patch:  1 => 0


Comment:

 I took Burhan Khalid's pull request and updated it to target the 3.1
 release.

 I also tweaked the regexp for the accepted schemes to better match the RFC
 (I think).
 As suggested by Tim in the previous pull request, I added a test to make
 sure all currently assigned schemes [1] are validated by the regexp.

 [https://github.com/django/django/pull/12171 PR here]

 [1] https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml

-- 
Ticket URL: <https://code.djangoproject.com/ticket/26424#comment:8>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.73edf8c27adac0c90aec9c3dce022476%40djangoproject.com.

Reply via email to