Opened 10 years ago
Last modified 10 years ago
#25059 closed Bug
URLValidator does not pass some valid IDN top-level domans — at Version 1
| 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
  Note:
 See   TracTickets
 for help on using tickets.