summaryrefslogtreecommitdiff
path: root/docs/ref/files
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-11-03 12:30:48 +0200
committerTim Graham <timograham@gmail.com>2014-11-03 21:40:26 -0500
commit5c517ec21839358249c6f17611abbf84661fb200 (patch)
tree1afeb511ca0dc8ab5e969af6b07aa2dd9ea3ce60 /docs/ref/files
parenta71a2ea756673cd3c7a2c5125fa7e7f334b05475 (diff)
Fixed versionchanged indentation in docs/.
Diffstat (limited to 'docs/ref/files')
-rw-r--r--docs/ref/files/storage.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt
index f2578e7f63..1d84254f41 100644
--- a/docs/ref/files/storage.txt
+++ b/docs/ref/files/storage.txt
@@ -112,17 +112,18 @@ The Storage Class
available for new content to be written to on the target storage
system.
- .. versionchanged:: 1.7
+ If a file with ``name`` already exists, an underscore plus a random
+ 7 character alphanumeric string is appended to the filename before
+ the extension.
- If a file with ``name`` already exists, an underscore plus a random 7
- character alphanumeric string is appended to the filename before the
- extension.
+ .. versionchanged:: 1.7
- Previously, an underscore followed by a number (e.g. ``"_1"``, ``"_2"``,
- etc.) was appended to the filename until an available name in the
- destination directory was found. A malicious user could exploit this
- deterministic algorithm to create a denial-of-service attack. This
- change was also made in Django 1.6.6, 1.5.9, and 1.4.14.
+ Previously, an underscore followed by a number (e.g. ``"_1"``,
+ ``"_2"``, etc.) was appended to the filename until an available
+ name in the destination directory was found. A malicious user could
+ exploit this deterministic algorithm to create a denial-of-service
+ attack. This change was also made in Django 1.6.6, 1.5.9, and
+ 1.4.14.
.. method:: get_valid_name(name)