Page MenuHomePhorge

Fix PHP 8.1 strlen(null) error in PhabricatorFile::newChunkedFile()
ClosedPublic

Authored by Sten on Jul 17 2023, 12:29.

Details

Summary

Fix PHP 8.1 strlen(null) error in PhabricatorFile::newChunkedFile().

Fixes T15499

Test Plan

Added a unit test which replicated the fault, so you can test simply by 'arc unit'
Alternatively, see test in T15499

Diff Detail

Repository
rP Phorge
Branch
PhabricatorFile (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 675
Build 675: arc lint + arc unit