summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJustin Thurman <justin.thurman@bevy.com>2024-10-16 09:43:02 -0400
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-17 17:00:35 +0200
commit3ba8b0dae8cfa8609a525a100ccc7d88859c5c81 (patch)
tree3b7cd4524b8ba053d9936e3c0e1fe51f7e8dd358 /docs
parent9a5eae0ad8054e9e9d8a43505c52313eecddbc8e (diff)
[5.1.x] Fixed #35845 -- Updated DomainNameValidator to require entire string to be a valid domain name.
Bug in 4971a9afe5642569f3dcfcd3972ebb39e88dd457. Thank you to kazet for the report and Claude Paroz for the review. Backport of 99dcc59237f384d7ade98acfd1cae8d90e6d60ab from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.1.3.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/releases/5.1.3.txt b/docs/releases/5.1.3.txt
index 5541a8824a..e3c62072b5 100644
--- a/docs/releases/5.1.3.txt
+++ b/docs/releases/5.1.3.txt
@@ -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`).