mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 06:50:55 +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:
parent
12a382885f
commit
3049e46875
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue