Fixed #26419 -- Added a link in ALLOWED_HOSTS docs.
This commit is contained in:
parent
99bb7fcc18
commit
f8b31dfdfc
|
@ -65,9 +65,8 @@ See :doc:`/howto/error-reporting` for more information.
|
||||||
Default: ``[]`` (Empty list)
|
Default: ``[]`` (Empty list)
|
||||||
|
|
||||||
A list of strings representing the host/domain names that this Django site can
|
A list of strings representing the host/domain names that this Django site can
|
||||||
serve. This is a security measure to prevent an attacker from poisoning caches
|
serve. This is a security measure to prevent :ref:`HTTP Host header attacks
|
||||||
and triggering password reset emails with links to malicious hosts by submitting
|
<host-headers-virtual-hosting>`, which are possible even under many
|
||||||
requests with a fake HTTP ``Host`` header, which is possible even under many
|
|
||||||
seemingly-safe web server configurations.
|
seemingly-safe web server configurations.
|
||||||
|
|
||||||
Values in this list can be fully qualified names (e.g. ``'www.example.com'``),
|
Values in this list can be fully qualified names (e.g. ``'www.example.com'``),
|
||||||
|
|
Loading…
Reference in New Issue