summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch b/meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch
index c050a4ad38..057d89ec18 100644
--- a/meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch
+++ b/meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch
@@ -95,15 +95,15 @@ index 5abab8d..1956655 100644
95 ), 95 ),
96 ('foo@example.com', '<a href="mailto:foo@example.com">foo@example.com</a>'), 96 ('foo@example.com', '<a href="mailto:foo@example.com">foo@example.com</a>'),
97 ) 97 )
98+ ( 98+ (
99+ "test@" + "한.글." * 15 + "aaa", 99+ "test@" + "한.글." * 15 + "aaa",
100+ '<a href="mailto:test@' 100+ '<a href="mailto:test@'
101+ + "xn--6q8b.xn--bj0b." * 15 101+ + "xn--6q8b.xn--bj0b." * 15
102+ + 'aaa">' 102+ + 'aaa">'
103+ + "test@" 103+ + "test@"
104+ + "한.글." * 15 104+ + "한.글." * 15
105+ + "aaa</a>", 105+ + "aaa</a>",
106+ ), 106+ ),
107 for value, output in tests: 107 for value, output in tests:
108 with self.subTest(value=value): 108 with self.subTest(value=value):
109 self.assertEqual(urlize(value), output) 109 self.assertEqual(urlize(value), output)