mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #19457 -- ImageField size detection failed for some files.
This was caused by PIL raising a zlib truncated stream error since we fed the parser with chunks instead of the whole image.
This commit is contained in:
committed by
Florian Apolloner
parent
bacb097ac3
commit
3aa4b8165d
BIN
tests/regressiontests/file_storage/magic.png
Normal file
BIN
tests/regressiontests/file_storage/magic.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Reference in New Issue
Block a user