summaryrefslogtreecommitdiff
path: root/tests/file_uploads
Commit message (Expand)AuthorAgeFilesLines
* Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.Jarosław Wygoda2023-01-121-1/+6
* Fixed #34110 -- Added in-memory file storage.Francesco Panico2023-01-101-2/+8
* Refs #34100 -- Made file upload tests use Storage.exists() where appropriate.Francesco Panico2022-12-303-6/+11
* Updated documentation and comments for RFC updates.Nick Pope2022-11-101-4/+2
* Refs #33697 -- Used django.utils.http.parse_header_parameters() for parsing b...Mehrdad2022-06-281-45/+0
* Refs #33697 -- Fixed multipart parsing of headers with double quotes and semi...Mehrdad2022-06-011-0/+6
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-9/+14
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-075-414/+559
* Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak2022-02-031-2/+1
* Fixed CVE-2022-23833 -- Fixed DoS possiblity in file uploads.Mariusz Felisiak2022-02-011-0/+20
* Fixed #33062 -- Made MultiPartParser remove non-printable chars from file names.Hrushikesh Vaidya2022-01-201-0/+23
* Fixed isolation of test_filename_traversal_upload().Mariusz Felisiak2021-07-051-1/+0
* Refs #32355 -- Used addClassCleanup() in tests.Mariusz Felisiak2021-06-041-10/+2
* Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads.Florian Apolloner2021-05-041-1/+37
* Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.Mariusz Felisiak2021-04-064-16/+109
* Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.aryan2020-09-303-1/+37
* Refs #30422 -- Added test for removing temporary files in MultiPartParser whe...aryan2020-09-304-2/+30
* Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.Michael Brown2020-06-111-4/+8
* Capitalized Unicode in docs, strings, and comments.Jon Dufresne2020-04-201-1/+1
* Fixed #31293 -- Allowed MultiPartParser to handle double-quoted encoded headers.0072020-02-281-0/+42
* Used more specific unittest assertions in tests.Nick Pope2019-10-291-2/+3
* Cleaned up exception message checking in some tests.Jon Dufresne2019-03-151-2/+2
* Refs #15362 -- Removed obsolete workaround in file_uploads test view.Jon Dufresne2019-02-091-19/+2
* Removed default empty content argument from HttpResponse calls.Jon Dufresne2019-02-091-4/+4
* Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=...Jon Dufresne2019-01-311-4/+2
* Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne2019-01-281-5/+2
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-311-13/+13
* Added tests for incorrect content type and size in MultiPartParser.Mads Jensen2018-06-121-2/+25
* Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham2018-02-072-6/+4
* Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne2017-05-271-1/+1
* Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham2017-02-091-1/+1
* Used JsonResponse and response.json in file_uploads tests.Tim Graham2017-02-082-29/+16
* Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ...Chillar Anand2017-01-261-15/+7
* Refs #23919 -- Replaced usage of django.utils.http utilities with Python equi...Claude Paroz2017-01-261-3/+3
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-252-6/+6
* Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.Tim Graham2017-01-251-3/+1
* Refs #23919 -- Removed unneeded force_str callsClaude Paroz2017-01-201-4/+2
* Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2).Tim Graham2017-01-191-2/+1
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-2/+1
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-2/+1
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-4/+2
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-5/+0
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-102-4/+3
* Replaced smart_* by force_* calls whenever possibleClaude Paroz2016-09-031-2/+2
* Replaced use of TestCase.fail() with assertRaises().Tim Graham2016-06-281-5/+4
* Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner2016-05-171-1/+1
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-2/+1
* Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an em...John-Mark Bell2016-03-071-0/+35
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-6/+2
* Fixed typos in test comments.Mingun Pak2016-01-231-1/+1