python3-django: (v3.2.25) fix ipv6 validation

This patch is only for python3-django_3.2.25.

The URL validator didn't detect invalid IPv6 addresses, treating them
as correct ones, making a testcase fail. (Also, according to the comment,
it could also crash in some cases, though I haven't encountered that)

This backported patch mitigates this behavior.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2026-01-15 13:24:34 +01:00
parent 62927185fe
commit 08466c714f
2 changed files with 57 additions and 0 deletions
@@ -15,6 +15,7 @@ SRC_URI += "\
file://CVE-2024-41991.patch \
file://CVE-2024-53907.patch \
file://CVE-2025-32873.patch \
file://0001-Fixed-33367-Fixed-URLValidator-crash-in-some-edge-ca.patch \
"
# Set DEFAULT_PREFERENCE so that the LTS version of django is built by