mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-09 14:21:02 +01:00
Flag meme redirect as external
Summary: Fixes T5918. Test Plan: Verified memes work again. Reviewers: hach-que, btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T5918 Differential Revision: https://secure.phabricator.com/D10307
This commit is contained in:
parent
5449200972
commit
a46d1f1cd8
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ final class PhabricatorMacroMemeController
|
||||||
if ($uri === false) {
|
if ($uri === false) {
|
||||||
return new Aphront404Response();
|
return new Aphront404Response();
|
||||||
}
|
}
|
||||||
return id(new AphrontRedirectResponse())->setURI($uri);
|
return id(new AphrontRedirectResponse())
|
||||||
|
->setIsExternal(true)
|
||||||
|
->setURI($uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function generateMacro($user, $macro_name, $upper_text,
|
public static function generateMacro($user, $macro_name, $upper_text,
|
||||||
|
|
Loading…
Reference in a new issue