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

:x-frame-options DENY is not a valid value #316

Open
SevereOverfl0w opened this issue May 27, 2020 · 0 comments
Open

:x-frame-options DENY is not a valid value #316

SevereOverfl0w opened this issue May 27, 2020 · 0 comments

Comments

@SevereOverfl0w
Copy link
Contributor

This causes warnings on the host page console.

The following lines probably should check that :x-frame-options value is
truthy (and default to true) instead. The docs should also be updated
accordingly.

yada/src/yada/security.clj

Lines 366 to 367 in c6cb858

true (assoc-in [:response :headers "x-frame-options"]
(get-in ctx [:resource :x-frame-options] "SAMEORIGIN"))

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

No branches or pull requests

1 participant