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

Refs #30426 -- Updated XFrameOptionsMiddleware docstring. #15644

Merged
merged 1 commit into from
Apr 29, 2022
Merged

Refs #30426 -- Updated XFrameOptionsMiddleware docstring. #15644

merged 1 commit into from
Apr 29, 2022

Conversation

c-w
Copy link
Contributor

@c-w c-w commented Apr 29, 2022

In #11751 the X_FRAME_OPTIONS default was changed from SAMEORIGIN to DENY, however the docstring of XFrameOptionsMiddleware wasn't updated which leads to confusion as the documentation and behavior differ. This pull request updates the docstring to fix the inconsistency.

In #11751 the `X_FRAME_OPTIONS` default was changed from `SAMEORIGIN` to `DENY`, however the docstring of `XFrameOptionsMiddleware` wasn't updated which leads to confusion as the documentation and behavior differ. This pull request updates the docstring to fix the inconsistency.
@github-actions
Copy link

Hello @c-w! Thank you for your contribution 💪

As it's your first contribution be sure to check out the patch review checklist.

If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!

If you have any design or process questions then you can ask in the Django forum.

Welcome aboard ⛵️!

@felixxm felixxm changed the title Fix docstring in XFrameOptionsMiddleware Refs #30426 -- Updated XFrameOptionsMiddleware docstring. Apr 29, 2022
@felixxm
Copy link
Member

felixxm commented Apr 29, 2022

@c-w Thanks 👍 Welcome aboard ⛵

@felixxm felixxm merged commit f0ba799 into django:main Apr 29, 2022
@c-w c-w deleted the patch-1 branch April 30, 2022 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants