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)
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
Unknown Object (File)
Thu, Aug 15, 4:15 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.