Jarosław Wygoda
|
32940d390a
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
|
2 éve |
Francesco Panico
|
72efd840a8
Fixed #34110 -- Added in-memory file storage.
|
2 éve |
Francesco Panico
|
c179ad9fe7
Refs #34100 -- Made file upload tests use Storage.exists() where appropriate.
|
2 éve |
Nick Pope
|
9bd174b9a7
Updated documentation and comments for RFC updates.
|
2 éve |
Mehrdad
|
d4d5427571
Refs #33697 -- Used django.utils.http.parse_header_parameters() for parsing boundary streams.
|
2 éve |
Mehrdad
|
93cedc82f2
Refs #33697 -- Fixed multipart parsing of headers with double quotes and semicolons.
|
2 éve |
Mariusz Felisiak
|
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
3 éve |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
3 éve |
Mariusz Felisiak
|
c5cd878382
Refs #33476 -- Refactored problematic code before reformatting by Black.
|
3 éve |
Mariusz Felisiak
|
fc18f36c4a
Fixed CVE-2022-23833 -- Fixed DoS possiblity in file uploads.
|
3 éve |
Hrushikesh Vaidya
|
3fadf141e6
Fixed #33062 -- Made MultiPartParser remove non-printable chars from file names.
|
3 éve |
Mariusz Felisiak
|
1ff0ea6e9b
Fixed isolation of test_filename_traversal_upload().
|
3 éve |
Mariusz Felisiak
|
213850b4b9
Refs #32355 -- Used addClassCleanup() in tests.
|
3 éve |
Florian Apolloner
|
0b79eb3691
Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads.
|
4 éve |
Mariusz Felisiak
|
d4d800ca1a
Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.
|
4 éve |
aryan
|
11c4a4412b
Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.
|
5 éve |
aryan
|
21b127bfbc
Refs #30422 -- Added test for removing temporary files in MultiPartParser when StopUpload is raised.
|
4 éve |
Michael Brown
|
36db4dd937
Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.
|
4 éve |
007
|
e65fea9292
Fixed #31293 -- Allowed MultiPartParser to handle double-quoted encoded headers.
|
5 éve |
Nick Pope
|
7552de7866
Used more specific unittest assertions in tests.
|
5 éve |
Jon Dufresne
|
95b7699ffc
Cleaned up exception message checking in some tests.
|
6 éve |
Jon Dufresne
|
290d8471bb
Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=True).
|
6 éve |
Jon Dufresne
|
7785e03ba8
Fixed #30137 -- Replaced OSError aliases with the canonical OSError.
|
6 éve |
Mads Jensen
|
4167959105
Added tests for incorrect content type and size in MultiPartParser.
|
6 éve |
Tim Graham
|
fa75b2cb51
Refs #27795 -- Removed force_bytes/text() usage in tests.
|
7 éve |
Tim Graham
|
5e303836b6
Used JsonResponse and response.json in file_uploads tests.
|
8 éve |
Chillar Anand
|
6478e07a62
Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context manager.
|
8 éve |
Claude Paroz
|
fee42fd99e
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
|
8 éve |
chillaranand
|
d6eaf7c018
Refs #23919 -- Replaced super(ClassName, self) with super().
|
8 éve |
Tim Graham
|
632c4ffd9c
Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.
|
8 éve |