summaryrefslogtreecommitdiff
path: root/tests/file_uploads
AgeCommit message (Expand)Author
2022-06-01[4.1.x] Refs #33697 -- Fixed multipart parsing of headers with double quotes ...Mehrdad
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2022-02-01Fixed CVE-2022-23833 -- Fixed DoS possiblity in file uploads.Mariusz Felisiak
2022-01-20Fixed #33062 -- Made MultiPartParser remove non-printable chars from file names.Hrushikesh Vaidya
2021-07-05Fixed isolation of test_filename_traversal_upload().Mariusz Felisiak
2021-06-04Refs #32355 -- Used addClassCleanup() in tests.Mariusz Felisiak
2021-05-04Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads.Florian Apolloner
2021-04-06Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.Mariusz Felisiak
2020-09-30Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.aryan
2020-09-30Refs #30422 -- Added test for removing temporary files in MultiPartParser whe...aryan
2020-06-11Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.Michael Brown
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2020-02-28Fixed #31293 -- Allowed MultiPartParser to handle double-quoted encoded headers.007
2019-10-29Used more specific unittest assertions in tests.Nick Pope
2019-03-15Cleaned up exception message checking in some tests.Jon Dufresne
2019-02-09Refs #15362 -- Removed obsolete workaround in file_uploads test view.Jon Dufresne
2019-02-09Removed default empty content argument from HttpResponse calls.Jon Dufresne
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=...Jon Dufresne
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-06-12Added tests for incorrect content type and size in MultiPartParser.Mads Jensen
2018-02-07Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-08Used JsonResponse and response.json in file_uploads tests.Tim Graham
2017-01-26Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ...Chillar Anand
2017-01-26Refs #23919 -- Replaced usage of django.utils.http utilities with Python equi...Claude Paroz
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-25Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2).Tim Graham
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-07Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an em...John-Mark Bell
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-23Fixed typos in test comments.Mingun Pak
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-20Replaced six.BytesIO with io.BytesIOTim Graham
2015-07-06Fixed some unclosed objects in testsAndriy Sokolovskiy
2015-05-25Refs #24652 -- Fixed a test failure in file_uploads tests on Windows.Simon Charette
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette