diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-14 08:34:36 +0100 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-15 13:50:48 +0100 |
| commit | 75a627cd00ebb054093d541aede2f4deae20f10b (patch) | |
| tree | a993697df00d077fca0051ea083989d202d3a483 /meta-python | |
| parent | c1d50d3e50c1348e75187c4cfd71e05b3a4ccdef (diff) | |
| download | meta-openembedded-75a627cd00ebb054093d541aede2f4deae20f10b.tar.gz | |
python3-django: fix intendation error in CVE patch
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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-django/CVE-2024-41991.patch | 18 |
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) |
