@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Respect outbound HTTP setting in macro generation

Summary: We respect this when adding inputs to the form, but not when guarding the actual fetch.

Test Plan: Reading

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12030

+1 -1
+1 -1
src/applications/macro/controller/PhabricatorMacroEditController.php
··· 67 67 'isExplicitUpload' => true, 68 68 'canCDN' => true, 69 69 )); 70 - } else if ($request->getStr('url')) { 70 + } else if ($request->getStr('url') && $can_fetch) { 71 71 try { 72 72 $file = PhabricatorFile::newFromFileDownload( 73 73 $request->getStr('url'),