Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F72158
D7341.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7341.diff
View Options
diff --git a/src/applications/differential/view/DifferentialChangesetDetailView.php b/src/applications/differential/view/DifferentialChangesetDetailView.php
--- a/src/applications/differential/view/DifferentialChangesetDetailView.php
+++ b/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':
diff --git a/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php b/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
--- a/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
+++ b/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
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/4d/a3/ztp4nryij43xiywx
Default Alt Text
D7341.diff (1 KB)
Attached To
Mode
D7341: Fix lightbox downloads for embeded images and a warning
Attached
Detach File
Event Timeline
Log In to Comment