From ca824284425e0a132ccec1e7f2ca9dbef8175795 Mon Sep 17 00:00:00 2001
From: Mehraz Hossain Rumman <59512321+MehrazRumman@users.noreply.github.com>
Date: Thu, 6 Nov 2025 04:05:54 +0600
Subject: [6.0.x] Fixed #36710 -- Fixed a regression in urlize for multipart
domain names.
Thanks Mehraz Hossain Rumman for the report and Bruno Alla for the triage.
Regression in a9fe98d5bd4212d069afe8316101984aadecfbb2.
Backport of 125b63ca745bace1e098ed3c7362d59136f68a8b from main.
---
tests/utils_tests/test_html.py | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'tests/utils_tests')
diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py
index 7167383aef..e8daf93db3 100644
--- a/tests/utils_tests/test_html.py
+++ b/tests/utils_tests/test_html.py
@@ -456,6 +456,10 @@ class TestUtilsHtml(SimpleTestCase):
'idna-2008@މިހާރު.example.mv',
),
+ (
+ "host.djangoproject.com",
+ 'host.djangoproject.com',
+ ),
)
for value, output in tests:
with self.subTest(value=value):
--
cgit v1.3