Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some typos in comments, docstrings, and tests. | Liyang Zhang | 2023-03-20 | 1 | -1/+1 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -6/+6 |
| | |||||
* | Fixed #32718 -- Relaxed file name validation in FileField. | Mariusz Felisiak | 2021-05-13 | 1 | -5/+15 |
| | | | | | | | | | | | | | - Validate filename returned by FileField.upload_to() not a filename passed to the FileField.generate_filename() (upload_to() may completely ignored passed filename). - Allow relative paths (without dot segments) in the generated filename. Thanks to Jakub Kleň for the report and review. Thanks to all folks for checking this patch on existing projects. Thanks Florian Apolloner and Markus Holtermann for the discussion and implementation idea. Regression in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3. | ||||
* | Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads. | Florian Apolloner | 2021-05-04 | 1 | -0/+16 |
| | |||||
* | Refs #23919 -- Removed File's Python 2 proxied methods. | Josh Schneier | 2017-04-26 | 1 | -2/+0 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File. | Simon Charette | 2016-05-27 | 1 | -5/+25 |
| | | | | Thanks Tim for the review. | ||||
* | Fixed #24963 -- Added File.seekable() on Python 3. | Carson Gee | 2015-06-12 | 1 | -0/+5 |
| | |||||
* | Fixed #7712, #9404, #10249, #10300: a light refactor and cleanup of file ↵ | Jacob Kaplan-Moss | 2009-05-08 | 1 | -0/+29 |
storage and the `File` object. Thanks to Armin Ronacher and Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10717 bcc190cf-cafb-0310-a4f2-bffc1f526a37 |