Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #26419 -- Rephrased a sentence in ALLOWED_HOSTS docs. #6357

Closed
wants to merge 3 commits into from

Conversation

jtpereyda
Copy link
Contributor

@timgraham timgraham changed the title Clarify ALLOWED_HOSTS Purpose; Ticket #26419 Fixed #26419 -- Rephrased a sentence in ALLOWED_HOSTS docs. Mar 30, 2016
serve. This is a security measure to prevent an attacker from poisoning caches
and triggering password reset emails with links to malicious hosts by submitting
requests with a fake HTTP ``Host`` header, which is possible even under many
serve. This is a security measure to prevent HTTP Host header attacks, in which
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add a link to the discussion in docs/topics/security.txt:

:ref:`HTTP Host header attacks <host-headers-virtual-hosting>`

Also, I think a comma isn't needed before "in which".

@jtpereyda
Copy link
Contributor Author

Updated according to @timgraham's comments. The effect of the PR is now basically to remove the confusing wording and replace it with a link to docs/topics/security.txt.

@timgraham
Copy link
Member

merged in f8b31df, thanks!

@timgraham timgraham closed this Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants