treat onlyoffice iframes specially with regard to CSP
This commit is contained in:
parent
a5265e4c61
commit
671999c600
@ -70,6 +70,7 @@ var setHeaders = (function () {
|
|||||||
return function (req, res) {
|
return function (req, res) {
|
||||||
const h = [
|
const h = [
|
||||||
/^\/pad(2)?\/inner\.html.*/,
|
/^\/pad(2)?\/inner\.html.*/,
|
||||||
|
/^\/common\/onlyoffice\/.*\/index\.html.*/,
|
||||||
/^\/sheet\/inner\.html.*/,
|
/^\/sheet\/inner\.html.*/,
|
||||||
/^\/ooslide\/inner\.html.*/,
|
/^\/ooslide\/inner\.html.*/,
|
||||||
/^\/oodoc\/inner\.html.*/,
|
/^\/oodoc\/inner\.html.*/,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user