1
0
mirror of https://github.com/django/django.git synced 2025-06-29 07:19:11 +00:00
django/docs/releases/5.1.9.txt
Natalia 1520d18e9c [5.1.x] Added upcoming security release to release notes.
Backport of 0f5dd0dff3049189a3fe71a62670b746543335d5 from main.
2025-04-30 14:56:53 -03:00

21 lines
697 B
Plaintext

==========================
Django 5.1.9 release notes
==========================
*Expected May 7, 2025*
Django 5.1.9 fixes a security issue with severity "moderate", a data loss bug,
and a regression 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`).
* Fixed a regression in Django 5.1.8, introduced when fixing :cve:`2025-26699`,
where the :tfilter:`wordwrap` template filter did not preserve empty lines
between paragraphs after wrapping text (:ticket:`36341`).