#25059 closed Bug (fixed)
URLValidator does not pass some valid IDN top-level domans
| Reported by: | Alexey Sveshnikov | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | 1.8 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
There are some valid IDN top level domains with dashes which is not validated by URLValidator.
One example is '.xn--p1ai' which is punycode-encoded '.рф' (IDN TLD for Russian Federation)
This is a regression since 1.7.x
Pull request: https://github.com/django/django/pull/4949
Change History (7)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:3 by , 10 years ago
| Severity: | Normal → Release blocker |
|---|
comment:4 by , 10 years ago
comment:5 by , 10 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
For reference, the commit that introduced the regression is 2e65d56156b622e2393dee1af66e9c799a51924f.