diff --git a/src/applications/macro/controller/PhabricatorMacroEditController.php b/src/applications/macro/controller/PhabricatorMacroEditController.php index 074b7e5a7f..77ca0c7485 100644 --- a/src/applications/macro/controller/PhabricatorMacroEditController.php +++ b/src/applications/macro/controller/PhabricatorMacroEditController.php @@ -67,7 +67,7 @@ final class PhabricatorMacroEditController extends PhabricatorMacroController { 'isExplicitUpload' => true, 'canCDN' => true, )); - } else if ($request->getStr('url')) { + } else if ($request->getStr('url') && $can_fetch) { try { $file = PhabricatorFile::newFromFileDownload( $request->getStr('url'),