Opened 10 years ago
Last modified 10 years ago
#26204 closed Bug
URLValidator does not accept TLDs with "-"s — at Initial Version
| Reported by: | Luke Faraone | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | 1.8 |
| Severity: | Normal | Keywords: | regression |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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 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.
Note:
See TracTickets
for help on using tickets.