1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #35845 -- Updated DomainNameValidator to require entire string to be a valid domain name.

Bug in 4971a9afe5.

Thank you to kazet for the report and Claude Paroz for the review.
This commit is contained in:
Justin Thurman
2024-10-16 09:43:02 -04:00
committed by Sarah Boyce
parent 65f3cfce59
commit 99dcc59237
3 changed files with 22 additions and 6 deletions

View File

@@ -10,4 +10,7 @@ Django 5.1.3 fixes several bugs in 5.1.2 and adds compatibility with Python
Bugfixes
========
* ...
* Fixed a bug in Django 5.1 where
:class:`~django.core.validators.DomainNameValidator` accepted any input value
that contained a valid domain name, rather than only input values that were a
valid domain name (:ticket:`35845`).