[Django] #22829: URLValidator doesn't allow underscored in host part

3 views
Skip to first unread message

Django

unread,
Jun 13, 2014, 11:04:04 AM6/13/14
to django-...@googlegroups.com
#22829: URLValidator doesn't allow underscored in host part
------------------------------+--------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------
URLValidator doesn't allow underscored in host part of URL which seems to
be perfectly valid:

http://stackoverflow.com/questions/2180465/can-someone-have-a-subdomain-
hostname-with-an-underscore-in-it

--
Ticket URL: <https://code.djangoproject.com/ticket/22829>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 13, 2014, 11:08:55 AM6/13/14
to django-...@googlegroups.com
#22829: URLValidator doesn't allow underscored in host part
------------------------------+--------------------------------------

Reporter: anonymous | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by anonymous):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

A bit of a clarification, it's not technically valid - rather it is used
in the wild anyway. For example http://www.mattmorones_broker-
beta.homesconnect.com

--
Ticket URL: <https://code.djangoproject.com/ticket/22829#comment:1>

Django

unread,
Jun 13, 2014, 11:22:04 AM6/13/14
to django-...@googlegroups.com
#22829: URLValidator doesn't allow underscored in host part
------------------------------+--------------------------------------

Reporter: anonymous | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------

Comment (by aaugustin):

I'm pretty sure we did the opposite change in the past.

--
Ticket URL: <https://code.djangoproject.com/ticket/22829#comment:2>

Django

unread,
Jun 13, 2014, 12:22:46 PM6/13/14
to django-...@googlegroups.com
#22829: URLValidator doesn't allow underscored in host part
------------------------------+--------------------------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: closed

Component: Core (Other) | Version: 1.6
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by timo):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #20264

--
Ticket URL: <https://code.djangoproject.com/ticket/22829#comment:3>

Reply all
Reply to author
Forward
0 new messages