Skip to content

Fix content disposition so downloads actually download - #1180

Open
TheSpyder wants to merge 2 commits into
solidtime-io:mainfrom
TheSpyder:fix-content-disposition
Open

Fix content disposition so downloads actually download#1180
TheSpyder wants to merge 2 commits into
solidtime-io:mainfrom
TheSpyder:fix-content-disposition

Conversation

@TheSpyder

Copy link
Copy Markdown

What does this PR do?

Sets the content-disposition header to attachment for exported reports. Builds on the initial PR #1171, with the local fix proposed in #1148 and better tests.

I admit that I'm not an expert in any of this code, but I know enough basic PHP that I think the logic is correct. I certainly questioned Claude a lot along the way. The tests all pass and I've manually verified both local and S3 exports on Chrome and Safari.

Checklist (DO NOT REMOVE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reports open instead of download

1 participant