Homec4science

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

Authored by epriestley <git@epriestley.com> on Mar 1 2015, 21:12.

Description

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

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7398

Differential Revision: https://secure.phabricator.com/D11915

Details

Committed
epriestley <git@epriestley.com>Mar 1 2015, 21:12
Pushed
aubortJan 31 2017, 17:16
Parents
rPHd1eda610fac6: Identify builtin files and give them open policies
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHed49b41e915d: When redirecting to acquire file access tokens, retain 'download' parameter (authored by epriestley <git@epriestley.com>).Mar 1 2015, 21:12