Skip to content

Commit

Permalink
Merge pull request #10702 from owncloud/fix/drawio-iframe-sandbox
Browse files Browse the repository at this point in the history
fix: apply sandbox attribute to draw-io iframe
  • Loading branch information
kulmann authored Apr 3, 2024
2 parents bb18889 + c1f4ae6 commit 567973f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/iframe-sandbox-drawio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Apply sandbox attribute to iframe in draw-io extension

General hardening of ownCloud Web

https://github.com/owncloud/web/pull/10702
2 changes: 2 additions & 0 deletions packages/web-app-draw-io/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
ref="drawIoEditor"
:src="iframeSource"
:title="$gettext('Draw.io editor')"
sandbox="allow-scripts allow-same-origin"
/>
</template>

<script lang="ts">
import qs from 'qs'
import {
Expand Down

0 comments on commit 567973f

Please sign in to comment.