1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs CVE-2021-23336 -- Updated tests and release notes for affected versions.

This commit is contained in:
Nick Pope
2021-02-16 10:14:17 +00:00
committed by Carlton Gibson
parent 96a5093400
commit 0ad9fa02e0
6 changed files with 49 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ from django.test.client import FakePayload
class ExceptionHandlerTests(SimpleTestCase):
def get_suspicious_environ(self):
payload = FakePayload('a=1&a=2;a=3\r\n')
payload = FakePayload('a=1&a=2&a=3\r\n')
return {
'REQUEST_METHOD': 'POST',
'CONTENT_TYPE': 'application/x-www-form-urlencoded',