1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00

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
This commit is contained in:
James Rhodes 2014-08-27 08:26:37 +10:00
parent 12a382885f
commit 3049e46875

View file

@ -123,6 +123,7 @@ final class PhragmentZIPController extends PhragmentController {
} }
return id(new AphrontRedirectResponse()) return id(new AphrontRedirectResponse())
->setIsExternal(true)
->setURI($file->getDownloadURI($return)); ->setURI($file->getDownloadURI($return));
} }