From 9434510ce9889aac53625b46659179767a75a00b Mon Sep 17 00:00:00 2001 From: Taoufik Date: Wed, 31 Oct 2018 01:04:25 +0100 Subject: [PATCH] Typo :3 --- docs/source/tour.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/tour.rst b/docs/source/tour.rst index 0dd6e12..1cfeb25 100644 --- a/docs/source/tour.rst +++ b/docs/source/tour.rst @@ -244,9 +244,9 @@ In order to set custom parameters, you need to set the ``cors_params`` argument Trusted Hosts ------------- -Make sure that all the incoming requests headers have a valid ``host``, that matches one of the provided patterns in the ``allowed_host`` attribute, in order to prevent HTTP Host Header attacks. +Make sure that all the incoming requests headers have a valid ``host``, that matches one of the provided patterns in the ``allowed_hosts`` attribute, in order to prevent HTTP Host Header attacks. -A 400 response will be raised, if a request does not match any of the provided patterns in the ``allowed_host`` attribute. +A 400 response will be raised, if a request does not match any of the provided patterns in the ``allowed_hosts`` attribute. ::