mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-21 04:01:30 +01:00
a88dc2afc2
Summary: Fixes T8850. Previously, if a user's preamble script mangled `$_SERVER['REMOTE_ADDR']` or somehow set it to `null`, the user would get errors when performing certain actions. Now those errors shouldn't occur, and instead the user will be warned that there is a setup issue related to their preamble script. Test Plan: Create a preamble script that contains `$_SERVER['REMOTE_ADDR'] = null;` then navigate to /config/issue/. There should be a warning there about `REMOTE_ADDR` not being available. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, yelirekim, epriestley Maniphest Tasks: T8850 Differential Revision: https://secure.phabricator.com/D16450 |
||
---|---|---|
.. | ||
__tests__ | ||
PhabricatorExternalAccount.php | ||
PhabricatorRegistrationProfile.php | ||
PhabricatorUser.php | ||
PhabricatorUserCache.php | ||
PhabricatorUserConfiguredCustomFieldStorage.php | ||
PhabricatorUserCustomFieldNumericIndex.php | ||
PhabricatorUserCustomFieldStringIndex.php | ||
PhabricatorUserDAO.php | ||
PhabricatorUserEmail.php | ||
PhabricatorUserLog.php | ||
PhabricatorUserProfile.php | ||
PhabricatorUserSchemaSpec.php | ||
PhabricatorUserTransaction.php |