Skip to content

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

@SevereOverfl0w

Description

@SevereOverfl0w

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"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions