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
Fri, Sep 26, 12:03 AM
F18678075: D11915.diff
Thu, Sep 25, 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
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.