#25637: Add label and hostname length validation in URLValidator
--------------------------------------+------------------------------------
     Reporter:  DheerendraRathor      |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Other)          |                  Version:  master
     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 DheerendraRathor):

 63 character limit should be applicable for domain name and TLD regex as
 well.  Total length limit can be implemented by checking the length of
 `host_re` group. Also you should your test in `invalid_urls.txt`.

--
Ticket URL: <https://code.djangoproject.com/ticket/25637#comment:5>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/074.d466255e132060eb038619d2b8c8716f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to