Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14102520
D12030.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
623 B
Referenced Files
None
Subscribers
None
D12030.diff
View Options
diff --git a/src/applications/macro/controller/PhabricatorMacroEditController.php b/src/applications/macro/controller/PhabricatorMacroEditController.php
--- a/src/applications/macro/controller/PhabricatorMacroEditController.php
+++ b/src/applications/macro/controller/PhabricatorMacroEditController.php
@@ -67,7 +67,7 @@
'isExplicitUpload' => true,
'canCDN' => true,
));
- } else if ($request->getStr('url')) {
+ } else if ($request->getStr('url') && $can_fetch) {
try {
$file = PhabricatorFile::newFromFileDownload(
$request->getStr('url'),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 7:09 PM (5 h, 30 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6796081
Default Alt Text
D12030.diff (623 B)
Attached To
Mode
D12030: Respect outbound HTTP setting in macro generation
Attached
Detach File
Event Timeline
Log In to Comment