Skip to content

Commit 9d06e25

Browse files
janbrasnarobhudson
authored andcommitted
docs: Update configuration exclude info
1 parent d6bff9f commit 9d06e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ At the top level of the policy dictionary, these are the keys that can be used t
9999
policy.
100100

101101
``EXCLUDE_URL_PREFIXES``
102-
A ``tuple`` of URL prefixes. URLs beginning with any of these will not get the CSP headers.
103-
*()*
102+
A ``tuple`` or ``list`` of URL prefixes to exclude from CSP protection. URLs beginning with any
103+
of these strings will not get the Content-Security-Policy response headers at all.
104104

105105
.. warning::
106106

0 commit comments

Comments
 (0)