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:
committed by
Carlton Gibson
parent
96a5093400
commit
0ad9fa02e0
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user