Digging into the issue, it turns out the tempnam() call in addMediaFromBase64() of InteractsWithMedia.php was occasionally ending the file name string with PHp which was blocked by the PHP extension check.
This PR proposes to add the . to all $phpExtensions in the list to resolve the issue.
I recently noticed sporadically failing tests in my application after the addition of PHP extensions to the
defaultSanitizer()
function of FileAdder.php.Digging into the issue, it turns out the
tempnam()
call inaddMediaFromBase64()
of InteractsWithMedia.php was occasionally ending the file name string withPHp
which was blocked by the PHP extension check.This PR proposes to add the
.
to all$phpExtensions
in the list to resolve the issue.