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.
Check if PhabricatorHash::digestForIndex() receives null master
Summary: Do not crash with an error passing down null by introducing a check. ``` ERROR 8192: sha1(): Passing null to parameter #1 ($string) of type string is deprecated at [/var/www/hosts/__PHABRICATOR__/phabricator/src/infrastructure/util/PhabricatorHash.php:47] ``` Refs T16284 Test Plan: Somehow make `idx($_SERVER, 'REMOTE_ADDR')` return `null`, I guess. Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T16284 Differential Revision: https://we.phorge.it/D26458
Author Andre Klapper Date (Nov 15, 2025, 12:12 PM UTC) Commit 6f21c927 6f21c92718eb4cc74f4dd68efc4accfd5a625209 Parent 3467faa4 3467faa415b9792113144328354ae2933342371f