Opened 9 years ago

Last modified 9 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 Alexey Sveshnikov)

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 (1)

comment:1 by Alexey Sveshnikov, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top