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

Add X-Frame-Options Middleware class #1767

Closed
ivermac opened this issue Jan 14, 2020 · 0 comments · Fixed by #1766
Closed

Add X-Frame-Options Middleware class #1767

ivermac opened this issue Jan 14, 2020 · 0 comments · Fixed by #1766
Assignees

Comments

@ivermac
Copy link
Contributor

ivermac commented Jan 14, 2020

Environmental Information

  • Operating System: All
  • Onadata version:
  • Python version: 3.6

Problem description

Responses are missing x-frame-options header which prevent the page from being loaded on a server whose domain is different to the one where onadata instance is being hosted.

Expected behavior

The response object should have x-frame-options header

Steps to reproduce the behavior

Try opening a page on an iframe on a locally running app whose address is like http://localhost:8007

Additional Information

Logs, related issues, weird / out of place occurrences, local settings, possible approach to solving this...

Aha! Link: https://ona.aha.io/features/PROD-175

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 a pull request may close this issue.

2 participants