1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/applications/base/controller
epriestley d5f41ef70e Return HTTP 500, not HTTP 200, on exception pages
Summary: Ref T4064. The response code here isn't normally relevant, but we can hit these via `git clone http://../`, etc., and it's clearly more correct to use HTTP 500.

Test Plan: Added a fake `throw new Exception()` and verified I got an HTTP 500 response.

Reviewers: jamesr, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4064

Differential Revision: https://secure.phabricator.com/D7507
2013-11-05 15:25:12 -08:00
..
__tests__ Fix controller-level access rules 2013-10-03 19:05:47 -07:00
Phabricator404Controller.php Fix a redirect-on-login issue by allowing logged-out users to view 404 pages 2012-11-21 14:43:35 -08:00
PhabricatorController.php Return HTTP 500, not HTTP 200, on exception pages 2013-11-05 15:25:12 -08:00
PhabricatorRedirectController.php Delete license headers from files 2012-11-05 11:16:51 -08:00