Page MenuHomePhorge

Fix PhabricatorAuthCSRFEngine.php strncmp(null) PHP 8.1 error
ClosedPublic

Authored by Sten on Oct 25 2023, 08:43.
Tags
None
Referenced Files
F3353834: D25449.1743842602.diff
Fri, Apr 4, 08:43
F3352722: D25449.1743806881.diff
Thu, Apr 3, 22:48
F3342539: D25449.1743665206.diff
Wed, Apr 2, 07:26
F3330905: D25449.1743496872.diff
Mon, Mar 31, 08:41
F3310359: D25449.1743194348.diff
Thu, Mar 27, 20:39
F3308707: D25449.1743175007.diff
Thu, Mar 27, 15:16
F3307730: D25449.1743151270.diff
Thu, Mar 27, 08:41
F3306354: D25449.1743127394.diff
Thu, Mar 27, 02:03

Details

Summary

Update PhabricatorAuthCSRFEngine.php such that it doesn't fall over when provided with a null CSRF token under PHP 8.1

Fixes T15654

Test Plan

Do a POST request to phorge.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable