#25620: URLValidator regex does not trigger on consecutive periods
------------------------------+------------------------------------
     Reporter:  sully90h      |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  Core (Other)  |                  Version:  1.8
     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
------------------------------+------------------------------------

Comment (by DheerendraRathor):

 Recently I've also noted that scheme regex is `r'^(?:[a-z0-9\.\-]*)://'`
 but it should have been `r'^(?:[a-z0-9\.\-\+]+)://'` according to
 [https://tools.ietf.org/html/rfc1738#section-2.1 rfc1738]. I'll update my
 PR soon.

--
Ticket URL: <https://code.djangoproject.com/ticket/25620#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/066.06f0b1898ac600c538eb52a5111470a7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to