#25059: URLValidator does not pass some valid IDN top-level domans
-----------------------------------+--------------------------------------
     Reporter:  alexey-sveshnikov  |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Core (Other)       |                  Version:  1.8
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  1                  |                    UI/UX:  0
-----------------------------------+--------------------------------------
Changes (by alexey-sveshnikov):

 * needs_docs:   => 0
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Old description:

> 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
>
> (I'm going to post pull request when I get ticket number)

New description:

 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

--

--
Ticket URL: <https://code.djangoproject.com/ticket/25059#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.04bc19a243677ecb4ad17b4f2dca9b03%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to