summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-01-21 20:59:40 +0100
committerClaude Paroz <claude@2xlibre.net>2015-01-23 08:58:34 +0100
commitb1bf8d64fbadcab860eb98662c49b8db33db0c3c (patch)
treeab937dc2d28b61365152c1cc61492bd79403854e /docs
parent7b677fe063910e67dbeb123fcd164305e0425f34 (diff)
[1.7.x] Fixed #24193 -- Prevented unclosed file warnings in static.serve()
This regression was caused by 818e59a3f0. The patch is a partial backport of the new FileResponse class available in later Django versions. Thanks Raphaƫl Hertzog for the report, and Tim Graham and Collin Anderson for the reviews.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.4.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.7.4.txt b/docs/releases/1.7.4.txt
index 5f10e5e8c6..0d53459068 100644
--- a/docs/releases/1.7.4.txt
+++ b/docs/releases/1.7.4.txt
@@ -17,3 +17,6 @@ Bugfixes
* Fixed a migration crash on MySQL when migrating from a ``OneToOneField`` to a
``ForeignKey`` (:ticket:`24163`).
+
+* Prevented the ``static.serve`` view from producing ``ResourceWarning``\s in
+ certain circumstances (security fix regression, :ticket:`24193`).