1
0
mirror of https://github.com/django/django.git synced 2025-10-29 08:36:09 +00:00

[1.6.x] Added a warning regarding risks in serving user uploaded media.

Thanks Preston Holmes for the draft text.

Backport of df6760f12c from master
This commit is contained in:
Tim Graham
2013-11-13 07:38:03 -05:00
parent 87433c30c7
commit 3f8583a2c8
3 changed files with 58 additions and 4 deletions

View File

@@ -1440,6 +1440,12 @@ to a non-empty value.
Example: ``"http://media.example.com/"``
.. warning::
There are security risks if you are accepting uploaded content from
untrusted users! See the security guide's topic on
:ref:`user-uploaded-content-security` for mitigation details.
.. warning::
:setting:`MEDIA_URL` and :setting:`STATIC_URL` must have different