Allow public board iframe inclusion (see #309)
This commit is contained in:
parent
f63984af1a
commit
f9e4915d75
|
|
@ -116,7 +116,11 @@ abstract class Base
|
|||
$this->response->csp(array('style-src' => "'self' 'unsafe-inline'"));
|
||||
$this->response->nosniff();
|
||||
$this->response->xss();
|
||||
$this->response->xframe();
|
||||
|
||||
// Allow the public board iframe inclusion
|
||||
if ($action !== 'readonly') {
|
||||
$this->response->xframe();
|
||||
}
|
||||
|
||||
if (ENABLE_HSTS) {
|
||||
$this->response->hsts();
|
||||
|
|
|
|||
Loading…
Reference in New Issue