Page MenuHomePhorge

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

Authored by Sten on Jul 17 2023, 12:29.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 21, 16:59
Unknown Object (File)
Sat, Jul 13, 00:02
Unknown Object (File)
Fri, Jul 12, 20:16
Unknown Object (File)
Tue, Jul 9, 12:04
Unknown Object (File)
Tue, Jul 9, 10:37
Unknown Object (File)
Tue, Jul 9, 07:03
Unknown Object (File)
Mon, Jul 8, 17:24
Unknown Object (File)
Mon, Jul 1, 18:10

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