Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14006257
D7341.diff
No One
Temporary
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
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
Details
Attached
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)
Attached To
Mode
D7341: Fix lightbox downloads for embeded images and a warning
Attached
Detach File
Event Timeline
Log In to Comment