Skip to content

Commit

Permalink
fix: apply sandbox attribute to OnlyOffice/Collabora iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Apr 4, 2024
1 parent 00024d4 commit 4b1bd10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web-app-external/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
class="oc-width-1-1 oc-height-1-1"
:title="iFrameTitle"
allowfullscreen
sandbox="allow-scripts allow-same-origin"
/>
<div v-if="appUrl && method === 'POST' && formParameters" class="oc-height-1-1 oc-width-1-1">
<form :action="appUrl" target="app-iframe" method="post">
Expand All @@ -18,6 +19,7 @@
class="oc-width-1-1 oc-height-1-1"
:title="iFrameTitle"
allowfullscreen
sandbox="allow-scripts allow-same-origin"
/>
</div>
</template>
Expand Down

0 comments on commit 4b1bd10

Please sign in to comment.