mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Use "Best" URI when linking to files from Maniphest file previews
Summary: Previously, this code accidentally did not use the best URI. Instead, use the best URI. It's the best, obviously. Test Plan: Uploaded a binary file and then clicked the preview. Reviewers: hunterbridges, jungejason, nh, tuomaspelkonen, aran Reviewed By: tuomaspelkonen CC: aran, tuomaspelkonen Differential Revision: 905
This commit is contained in:
parent
1df7d4039e
commit
cd7ba81d83
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ final class AphrontFilePreviewView extends AphrontView {
|
|||
$link = phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $file->getViewURI(),
|
||||
'href' => $file->getBestURI(),
|
||||
'target' => '_blank',
|
||||
),
|
||||
$img);
|
||||
|
|
Loading…
Reference in a new issue