From 3d014bcbdb7f23f789166818b3c7c03228208d35 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 14 Jan 2022 19:15:14 +0530 Subject: [PATCH] temporarily disable new secondary sandboxing measures it seems they cause a regression in Safari --- www/secureiframe/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/secureiframe/main.js b/www/secureiframe/main.js index 6a43f3a02..7f88ff79e 100644 --- a/www/secureiframe/main.js +++ b/www/secureiframe/main.js @@ -28,7 +28,8 @@ define([ }; window.rc = requireConfig; window.apiconf = ApiConfig; - $('#sbox-secure-iframe').attr('sandbox', 'allow-scripts allow-popups allow-modals').attr('src', + // XXX extra sandboxing features are temporarily disabled as I suspect this is the cause of a regression in Safari + $('#sbox-secure-iframe')/*.attr('sandbox', 'allow-scripts allow-popups allow-modals')*/.attr('src', ApiConfig.httpSafeOrigin + '/secureiframe/inner.html?' + requireConfig.urlArgs + '#' + encodeURIComponent(JSON.stringify(req)));