﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26204	"URLValidator does not accept TLDs with ""-""s"	Luke Faraone	Tim Graham	"Forwarded from:
http://bugs.debian.org/814372

Previous versions of Django allowed for ""-""s in the rightmost component of a hostname. This was tightened in a previous release. While the [https://github.com/django/django/commit/bc98bc56a52860688ea0ae2ec7b9e59ddb72a811 case for punycode domains was fixed], there's no technical reason to disallow them in any part of a hostname component except for at the beginning or end. 

That is to say: http://ubuntu-mirror.my-tld/ubuntu is flagged as an invalid URL, even though the DNS has an IP for it, and apt happily upgrades from the archive mirror that is there.

The fix for <https://code.djangoproject.com/ticket/25452#comment:2> appears to be when this regression was introduced."	Bug	closed	Core (Other)	1.8	Normal	fixed	regression		Accepted	1	0	0	0	0	0
