Something went wrong. Try again.
@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
Something went wrong. Try again.
Don't emit Content-Security-Policy when returning a response during preflight setup checks master
Summary: Ref T4340. See <https://discourse.phabricator-community.org/t/core-exception-during-installation/1193/8>. If we return a response very early during setup, we may not be able to read from the environment yet. Just decline to build a "Content-Security-Policy" header in these cases. Test Plan: - Faked a preflight error (e.g., safe_mode enabled), restarted apache. - Before patch: environment error while generating CSP. - After patch: no error. - Loaded a normal page, observed an normal CSP header. Maniphest Tasks: T4340 Differential Revision: https://secure.phabricator.com/D19172
Author epriestley Date (Mar 5, 2018, 2:54 PM UTC) Commit f31975f7 f31975f7a3be3790b7ecfe6f3b64227dc96002ff Parent 58449521 584495215301bf9fa94cc09b3f53469efff8c979