summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-26 09:44:24 -0400
committerTim Graham <timograham@gmail.com>2014-08-26 09:45:01 -0400
commit5d647e5f1755d0fa571d14e3eb60b1f886d4d059 (patch)
tree2ce5a6910b35f3679287e40336fad3f5b87bb306
parent4fa3c041054865cf0b7004200cf9bcc325ff1369 (diff)
[1.5.x] Fixed spelling mistake in file docs.
Backport of a3e88e64a4 from master
-rw-r--r--docs/howto/custom-file-storage.txt2
-rw-r--r--docs/ref/files/storage.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/custom-file-storage.txt b/docs/howto/custom-file-storage.txt
index 509ab2e70c..82d2113e7b 100644
--- a/docs/howto/custom-file-storage.txt
+++ b/docs/howto/custom-file-storage.txt
@@ -90,7 +90,7 @@ to the ``get_valid_name()`` method described above.
extension.
Previously, an underscore followed by a number (e.g. ``"_1"``, ``"_2"``,
- etc.) was appended to the filename until an avaible name in the destination
+ 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.4.14.
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt
index fd90e3158a..2e0be2301d 100644
--- a/docs/ref/files/storage.txt
+++ b/docs/ref/files/storage.txt
@@ -88,7 +88,7 @@ The Storage Class
extension.
Previously, an underscore followed by a number (e.g. ``"_1"``, ``"_2"``,
- etc.) was appended to the filename until an avaible name in the
+ 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.4.14.