#25418: URL Validator to check only hostname part without domain nor tld
------------------------------+------------------------------------
     Reporter:  FoxMaSk       |                    Owner:  nobody
         Type:  New feature   |                   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 Chris Withers):

 Tim, the fact that you've had a duplicate from me suggests that the regex
 is wrong. https://tools.ietf.org/html/rfc3986#section-3.2.2 does not
 specify the need for either a domain or a tld.
 That's the technicality, the practicality is that most intranet urls are
 left in short form, without a domain or tld. These are not a "special" DNS
 setup, and I can't see a reason to simplify the regex.

 Please can you provide more justification for your position?

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

Reply via email to