temporarily disable new secondary sandboxing measures

it seems they cause a regression in Safari
pull/1/head
ansuz 3 years ago
parent bedcdec214
commit 3d014bcbdb

@ -28,7 +28,8 @@ define([
}; };
window.rc = requireConfig; window.rc = requireConfig;
window.apiconf = ApiConfig; 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 + ApiConfig.httpSafeOrigin + '/secureiframe/inner.html?' + requireConfig.urlArgs +
'#' + encodeURIComponent(JSON.stringify(req))); '#' + encodeURIComponent(JSON.stringify(req)));

Loading…
Cancel
Save