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
F3291303: D25449.1742877797.diff
Mon, Mar 24, 04:43
F3249277: D25449.1742285460.diff
Mon, Mar 17, 08:11
F3220888: D25449.1741813205.diff
Tue, Mar 11, 21:00
F3220115: D25449.1741800389.diff
Tue, Mar 11, 17:26
F2999903: D25449.1740433818.diff
Feb 23 2025, 21:50
F2999902: D25449.1740433817.diff
Feb 23 2025, 21:50
F2994666: D25449.1740324894.diff
Feb 22 2025, 15:34
F2992800: D25449.1740252083.diff
Feb 21 2025, 19:21

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