tighten CSP for blob/file host: remove allow-same-origin

This commit is contained in:
Paul Frazee 2015-07-21 12:42:40 -05:00
父節點 27a985a4bc
當前提交 ea38f8233f
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -89,7 +89,7 @@ module.exports = function (sbot, checkout_dir) {
"connect-src 'self'; "+
"object-src 'none'; "+
"frame-src 'none'; "+
"sandbox allow-same-origin allow-scripts"
"sandbox allow-scripts"
)
if (req.url.slice(-7) != '.sha256' && opts.serveFiles) {