mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[5.1.x] Fixed #35845 -- Updated DomainNameValidator to require entire string to be a valid domain name.
Bug in4971a9afe5. Thank you to kazet for the report and Claude Paroz for the review. Backport of99dcc59237from main.
This commit is contained in:
committed by
Sarah Boyce
parent
9a5eae0ad8
commit
3ba8b0dae8
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user