Page MenuHomePhorge

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

Authored by Sten on Oct 25 2023, 08:43.

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
Branch
csrf (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 867
Build 867: arc lint + arc unit