mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #666] [CLOSED] disable iframe sandboxing to fix PDF embedding #671
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/666
Author: @jamesscottbrown
Created: 1/22/2026
Status: ❌ Closed
Base:
main← Head:patch-1📝 Commits (1)
461436cdisable iframe sandboxing to fix PDF embedding📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
assets/index.js(+1 -1)📄 Description
Applying the the
sandboxattribute to an iFrame but with an empty value applies all sandboxing restrictions to the iFrame, and this prevents the PDF preview on Edit/View (?edit/?view) pages from working (this problem was reported as https://github.com/sigoden/dufs/issues/648).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.