Expected May 7, 2025
Django 5.1.9 fixes a data loss bug and a regression in 5.1.8.
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 (#36298).
Fixed a regression in Django 5.1.8, introduced when fixing CVE 2025-26699,
where the wordwrap
template filter did not preserve empty lines
between paragraphs after wrapping text (#36341).
4月 27, 2025