mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[1.4.x] Added more explicit warnings about unconfigured reStructured Text usage in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Backport of 718f149b
from master
This commit is contained in:
parent
45d43317b7
commit
ff6ee5f06c
2 changed files with 17 additions and 0 deletions
|
@ -46,6 +46,15 @@ When using the ``restructuredtext`` markup filter you can define a
|
|||
override the default writer settings. See the `restructuredtext writer
|
||||
settings`_ for details on what these settings are.
|
||||
|
||||
.. warning::
|
||||
|
||||
reStructured Text has features that allow raw HTML to be included, and that
|
||||
allow arbitrary files to be included. These can lead to XSS vulnerabilities
|
||||
and leaking of private information. It is your responsibility to check the
|
||||
features of this library and configure appropriately to avoid this. See the
|
||||
`Deploying Docutils Securely
|
||||
<http://docutils.sourceforge.net/docs/howto/security.html>`_ documentation.
|
||||
|
||||
.. _restructuredtext writer settings: http://docutils.sourceforge.net/docs/user/config.html#html4css1-writer
|
||||
|
||||
Markdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue