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

xframe_options_exempt decorator not working #268

Closed
vmwsree opened this issue Nov 14, 2017 · 3 comments
Closed

xframe_options_exempt decorator not working #268

vmwsree opened this issue Nov 14, 2017 · 3 comments

Comments

@vmwsree
Copy link

vmwsree commented Nov 14, 2017

from django.views.decorators.clickjacking import xframe_options_exempt

When I use this decorator for specifically exempting one view from same origin policy nginx seems to override this.

how to fix this

@theskumar
Copy link
Member

@vmwsree Remove the xframe option header from nginx and just have it generated via django. Have a look at #251 as well.

@vmwsree
Copy link
Author

vmwsree commented Nov 14, 2017

Thank you.

@theskumar
Copy link
Member

Should be fixed when #251 done. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants