python3-django: fix CVE-2023-36053 patch

This change is for python3-django_2.2.28.

The patch was accidentally backported incorrectly. The patch in general
introduces a field-length restrictrion on the email input fields, however
the patch was backported in a way that the restriction was applied on
file input fields instead of email fields.

This change amends the patch in a way to restrict the email field.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2026-01-15 13:40:55 +01:00
parent c8b4a0b775
commit 5974cd90a8
2 changed files with 44 additions and 0 deletions
@@ -44,6 +44,7 @@ SRC_URI += "file://CVE-2023-31047.patch \
file://0001-Fixed-test_utils.tests.HTMLEqualTests.test_parsing_e.patch \
file://0001-Made-RemoteTestResultTest.test_pickle_errors_detecti.patch \
file://0001-fix-quote-type-in-expected-error-message.patch \
file://0001-Fix-patch-for-CVE-2023-36053.patch \
"
SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"