From 3049e468758d7303485b78288104faeff022aac3 Mon Sep 17 00:00:00 2001 From: James Rhodes Date: Wed, 27 Aug 2014 08:26:37 +1000 Subject: [PATCH] Fix redirects in Phragment Summary: This fixes the ZIP controller redirect in Phragment after the external redirect change. Test Plan: Tested it on my server. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D10350 --- src/applications/phragment/controller/PhragmentZIPController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/phragment/controller/PhragmentZIPController.php b/src/applications/phragment/controller/PhragmentZIPController.php index ab1f204dc9..edc503ee83 100644 --- a/src/applications/phragment/controller/PhragmentZIPController.php +++ b/src/applications/phragment/controller/PhragmentZIPController.php @@ -123,6 +123,7 @@ final class PhragmentZIPController extends PhragmentController { } return id(new AphrontRedirectResponse()) + ->setIsExternal(true) ->setURI($file->getDownloadURI($return)); }