Page MenuHomePhabricator

D12030.diff
No OneTemporary

D12030.diff

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

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)

Event Timeline