diff mbox series

[meta-python,kirkstone,2/5] python3-django: fix intendation error in CVE patch

Message ID 20260114073440.210915-2-skandigraun@gmail.com
State New
Headers show
Series [meta-python,kirkstone,1/5] python3-twisted: patch CVE-2022-24801 | expand

Commit Message

Gyorgy Sarvari Jan. 14, 2026, 7:34 a.m. UTC
This change is for python3-django_2.2.28.

This patch contains an incorrect intendation, making the tests fail.
This change fixes that.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 .../python/python3-django/CVE-2024-41991.patch | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
diff mbox series

Patch

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
              ),
              ('foo@example.com', '<a href="mailto:foo@example.com">foo@example.com</a>'),
          )
-+            (
-+                "test@" + "한.글." * 15 + "aaa",
-+                '<a href="mailto:test@'
-+                + "xn--6q8b.xn--bj0b." * 15
-+                + 'aaa">'
-+                + "test@"
-+                + "한.글." * 15
-+                + "aaa</a>",
-+            ),
++        (
++            "test@" + "한.글." * 15 + "aaa",
++            '<a href="mailto:test@'
++            + "xn--6q8b.xn--bj0b." * 15
++            + 'aaa">'
++            + "test@"
++            + "한.글." * 15
++            + "aaa</a>",
++        ),
          for value, output in tests:
              with self.subTest(value=value):
                  self.assertEqual(urlize(value), output)