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
Lint
Lint Not Applicable
Unit
Tests Not Applicable