Fixes T7398. Previously, we would redirect to get a token and then redirect back to make use of it, but lose "download" in the process, and thus not get the correct "Content-Disposition" header.
Details
Details
- Reviewers
btrahan - Maniphest Tasks
- T7398: Clicking "Download" on an image, and then right-click Save Image As does not work
- Commits
- Restricted Diffusion Commit
rPed49b41e915d: When redirecting to acquire file access tokens, retain 'download' parameter
Clicked "Download" on a lightboxed file.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- download1
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 4686 Build 4700: [Placeholder Plan] Wait for 30 Seconds