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
Unknown Object (File)
Mon, Sep 9, 9:15 PM
Unknown Object (File)
Fri, Sep 6, 12:46 PM
Unknown Object (File)
Wed, Sep 4, 12:25 PM
Unknown Object (File)
Sun, Sep 1, 4:12 AM
Unknown Object (File)
Fri, Aug 23, 5:03 PM
Unknown Object (File)
Thu, Aug 22, 8:15 AM
Unknown Object (File)
Wed, Aug 21, 7:50 AM
Unknown Object (File)
Mon, Aug 19, 4:50 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.