﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30924	Numbers in top-level domain raise ValidationError	Seth Foster	nobody	"The current {{{regex}}} in  [https://github.com/django/django/blob/54ea290e5bbd19d87bd8dba807738eeeaf01a362/django/core/validators.py#L75 URLValidator] does not allow numbers in the top-level domain

e.g. {{{www.example.org33}}} raises a ValidationError

Rarely, if ever, do public top-level domains contain a number, however internal, private networks can certainly be configured with numbers present in the top-level domain. Thus it is important to handle these URIs without having to specify custom regex patterns to pass into the URLValidator.

The change can be achieved by replacing the following line in the URLValidator class:

{{{r'(?:[a-z' + ul + '-]{2,63}'}}}
with 
{{{r'(?:[a-z' + ul + r'0-9' + '-]{2,63}'}}}

https://github.com/ansible/awx/issues/5081"	New feature	closed	Forms	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
