#25418: URL Validator to check only hostname part without domain nor tld
-------------------------------+--------------------
     Reporter:  foxmask        |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Core (URLs)    |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Hi,
 on the LAN, we don't use full scheme of host + domain + tld, so it could
 be fine if we could change this

     host_re = '(' + hostname_re + domain_re + tld_re + '|localhost)'

 to

     host_re = '(' + hostname_re + domain_re + tld_re + '|' + hostname_re +
 '|localhost)'

 regards

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

Reply via email to