diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2015-12-23 17:08:40 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-24 09:57:02 -0500 |
| commit | 91d46d2fb872a572dcd8e645b2d60be4d4c7ca24 (patch) | |
| tree | de1dc77e8767bed17074415e8ad20b50a8e00417 /docs/man/django-admin.1 | |
| parent | 464128eb4ece1cef3bfd7e4b658d589dc095dbac (diff) | |
[1.8.x] Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.
Backport of 77b8d8cb6d6d6345f479c68c4892291c1492ba7e from master
Diffstat (limited to 'docs/man/django-admin.1')
| -rw-r--r-- | docs/man/django-admin.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1 index 557907231d..9c372ee422 100644 --- a/docs/man/django-admin.1 +++ b/docs/man/django-admin.1 @@ -2588,7 +2588,7 @@ support the \fBstdout\fP and \fBstderr\fP options. For example, you could write: .sp .nf .ft C -with open(\(aq/tmp/command_output\(aq) as f: +with open(\(aq/path/to/command_output\(aq) as f: management.call_command(\(aqdumpdata\(aq, stdout=f) .ft P .fi |
