Hi Pavel The ticket ( https://code.djangoproject.com/ticket/20264 ) doesn't mention any specific use cases, and nor have you. What has this behaviour blocked for you?
Thanks, Adam On Tue, 24 Mar 2020 at 12:46, Pavel Savchenko <asfalt...@gmail.com> wrote: > Hi Folks, > > I've just encountered this issue, and it seems Django's URLValidator regex > for host is trying to abide to RFC 1034 recommendation > <https://tools.ietf.org/html/rfc1034#section-3.5> , when there are many > sites in the wild that use underscore in their domain name. > > Can we please discuss this issue here, so we can eventually decide to > reopen the ticket (or not) and perhaps allow for a pull-request to fix it? > > I found this stackoverflow question helpful, with many answers/comments > with additional references: > https://stackoverflow.com/questions/2180465/can-domain-name-subdomains-have-an-underscore-in-it > > Best regards, > Pavel > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/6982245f-2b5a-4a32-8fe5-a063c7459b7c%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/6982245f-2b5a-4a32-8fe5-a063c7459b7c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Adam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM3PgXz3g%3Dk8BbV%3DaXtgT41PZgv5zmPCYaPHFr2i2%2BQ9%3Dw%40mail.gmail.com.