diff --git a/filebrowser_quantum/CHANGELOG.md b/filebrowser_quantum/CHANGELOG.md index 2830d0b05a..dc4370c679 100644 --- a/filebrowser_quantum/CHANGELOG.md +++ b/filebrowser_quantum/CHANGELOG.md @@ -1,4 +1,15 @@ +## 1.5.3.2 (2026-08-30) +- Fix Download in the Home Assistant iOS companion app (iOS 17 and later), + where a file opened and showed its content with no way to save it. + FileBrowser downloads by clicking a link that carries no `download` + attribute, and the app's WKWebView only turns a click into a real download + when that attribute is present, so inside the ingress panel the file was + simply rendered. The ingress filter now adds the attribute to FileBrowser's + own download link. "Open file" still opens, and the public-share sidebar's + own download button is not covered. Desktop browsers already downloaded + these and are unchanged, as is direct access on port 8071. + ## 1.5.3.1 (2026-08-29) - Fix "open parent directory" in Tools -> File Size Analyzer under Home Assistant ingress. FileBrowser opened the parent folder in a new tab, which diff --git a/filebrowser_quantum/config.yaml b/filebrowser_quantum/config.yaml index 3b289e8d3c..11ab783109 100644 --- a/filebrowser_quantum/config.yaml +++ b/filebrowser_quantum/config.yaml @@ -118,4 +118,4 @@ schema: slug: filebrowser_quantum udev: true url: https://github.com/alexbelgium/hassio-addons -version: "1.5.3.1" +version: "1.5.3.2" diff --git a/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf b/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf index 119fe636f4..c884b54327 100644 --- a/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf +++ b/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf @@ -13,34 +13,59 @@ server { proxy_read_timeout 30m; proxy_pass %%protocol%%://backend%%subpath%%; - # Tools -> File Size Analyzer (and the other tool views) open a result's - # parent folder with window.open(, '_blank'), because - # goToItem() takes its newTab argument from the context menu's - # showLimitedOptions flag, which those views always set. Behind ingress - # that popup lands on the raw /api/hassio_ingress// url with no - # Home Assistant frontend around it to keep the ingress session alive, - # so the new tab answers 401 instead of showing the folder. Turn that - # popup into a navigation of the panel itself. + # Two things the ingress panel needs that a plain browser tab does not. + # Both are injected into the page's existing nonce-carrying inline script + # rather than next to
: FileBrowser sends + # script-src 'self' 'nonce-', so a standalone inline