Page MenuHomePhabricator

When redirecting to acquire file access tokens, retain 'download' parameter
ClosedPublic

Authored by epriestley on Mar 1 2015, 3:55 PM.
Tags
None
Referenced Files
F18821356: D11915.id28712.diff
Wed, Oct 22, 10:17 PM
F18808824: D11915.id28703.diff
Sun, Oct 19, 8:56 AM
F18766068: D11915.id.diff
Tue, Oct 7, 2:46 PM
F18762885: D11915.diff
Mon, Oct 6, 9:09 PM
F18678975: D11915.id28712.diff
Sep 26 2025, 12:03 AM
F18678075: D11915.diff
Sep 25 2025, 10:15 PM
F18381825: D11915.diff
Aug 28 2025, 8:30 PM
F17911733: D11915.id.diff
Jul 29 2025, 3:38 PM
Subscribers
Tokens
"Piece of Eight" token, awarded by btrahan.

Details

Summary

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.

Test Plan

Clicked "Download" on a lightboxed file.

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

Event Timeline

epriestley retitled this revision from to When redirecting to acquire file access tokens, retain 'download' parameter.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan awarded a token.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 1 2015, 6:42 PM
This revision was automatically updated to reflect the committed changes.