Page MenuHomePhabricator

D7341.diff
No OneTemporary

D7341.diff

Index: src/applications/differential/view/DifferentialChangesetDetailView.php
===================================================================
--- src/applications/differential/view/DifferentialChangesetDetailView.php
+++ src/applications/differential/view/DifferentialChangesetDetailView.php
@@ -47,7 +47,7 @@
public function getFileIcon($filename) {
$path_info = pathinfo($filename);
- $extension = $path_info['extension'];
+ $extension = idx($path_info, 'extension');
switch ($extension) {
case 'psd':
case 'ai':
Index: src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
===================================================================
--- src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
+++ src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
@@ -103,6 +103,7 @@
'meta' => array(
'phid' => $file->getPHID(),
'uri' => $file->getBestURI(),
+ 'dUri' => $file->getDownloadURI(),
'viewable' => true,
),
),

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 29, 4:15 AM (2 w, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6731125
Default Alt Text
D7341.diff (1 KB)

Event Timeline