224b8e5a5a
- 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 |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
test_generate_filename.py | ||
tests.py | ||
urls.py |