Skip to content

Refs #30426 -- Updated XFrameOptionsMiddleware docstring.#15644

Merged
felixxm merged 1 commit intodjango:mainfrom
c-w:patch-1
Apr 29, 2022
Merged

Refs #30426 -- Updated XFrameOptionsMiddleware docstring.#15644
felixxm merged 1 commit intodjango:mainfrom
c-w:patch-1

Conversation

@c-w
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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