1
0
mirror of https://github.com/django/django.git synced 2025-04-19 14:54:37 +00:00
django/docs/releases/5.1.9.txt
Sarah Boyce 8ad3e80e88 Fixed #36298 -- Truncated the overwritten file content in file_move_safe().
Regression in 58cd4902a71a3695dd6c21dc957f59c333db364c.

Thanks Baptiste Mispelon for the report.
2025-04-07 16:11:36 +02:00

16 lines
418 B
Plaintext

==========================
Django 5.1.9 release notes
==========================
*Expected May 7, 2025*
Django 5.1.9 fixes a data loss bug in 5.1.8.
Bugfixes
========
* Fixed a data corruption possibility in ``file_move_safe()`` when
``allow_overwrite=True``, where leftover content from a previously larger
file could remain after overwriting with a smaller one due to lack of
truncation (:ticket:`36298`).