Bug 15111: Change X-Frame-Options with SAMEORIGIN
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 Nov 2015 08:19:57 +0000 (08:19 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 22 Apr 2016 08:51:11 +0000 (10:51 +0200)
commit201e1f239728f3656f5f71792a7d5ce9b5a05144
treeaebc66654063f85286ecc24291705f37d136f8a7
parentc97a01e1330ab5b1b1df7029d2149efa0deb19a4
Bug 15111: Change X-Frame-Options with SAMEORIGIN

There are some places where frames are used, the greybox JS plugin for
instance.

We need either to allow them from Koha or replace this plugin.
The easier for now is to switch the value from DENY with SAMEORIGIN.

Test plan:
- modify a record in a batch (tools/batch_record_modification.pl)
- click on preview marc
=> With only the previous patch you will get a blank page.
=> With this patch apply, it will work as expected.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fb167c0e4b897bf9a93b4fd6176b15e2d4dbd4df)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Output.pm