Closed jsi closed 4 years ago
Example of the same from nightly: https://vault.enonic.io/Enonic-Cloud/enonic-nightly/src/master/exp/config/com.enonic.xp.web.header.cfg
This is what it looks like on QA:
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
https://developer.enonic.com/docs/xp/stable/deployment/config#header_filter
Please add a new file to the config of the UI test server. Name it
com.enonic.xp.web.header.cfg
, and include the exact same string as described in the documentation.Then add a test, that checks the headers for the right values when previewing a page in admin.
This is the feature we are testing: https://github.com/enonic/xp/issues/7632