Skip to content

Commit 868b794

Browse files
committed
Merge branch 'feature/iframe-sandboxing' into develop
[SVCS-565] Closes: #291
2 parents 13914e4 + a3732ba commit 868b794

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mfr/server/static/js/mfr.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
self.pymParent.iframe.setAttribute('allowfullscreen', '');
8181
self.pymParent.iframe.setAttribute('webkitallowfullscreen', '');
8282
self.pymParent.iframe.setAttribute('scrolling', 'yes');
83+
self.pymParent.iframe.setAttribute('sandbox', 'allow-scripts');
8384

8485
self.pymParent.el.appendChild(self.spinner);
8586
$(self.pymParent.iframe).on('load', function () {

0 commit comments

Comments
 (0)