Skip to content

Commit fd588de

Browse files
Merge branch '5.4' into 6.2
* 5.4: [Console] Fix computing column width containing multibyte chars [Messenger] Fix deprecation layer of RedeliveryStamp [Mime] Form field values with integer keys not resolved correctly [Messenger] [Redis] Fixed problem where worker stops handling messages on first empty message [PHPUnitBridge] Fix PHPUnit 10.1 compatibility [VarDumper] Make the server TCP connection sync [Messenger] Fix warning message on failed messenger show command [Mailer] [Mailjet] Use body MessageID instead of X-MJ-Request-GUID [HttpFoundation] Fix BinaryFileResponse [Form] fix merge [HttpFoundation] Fix memory limit problems in BinaryFileResponse [PropertyAccess] Readonly properties must have no PropertyWriteInfo [Form] Cast choices value callback result to string [Serializer] Unexpected value should throw UnexpectedValueException [ErrorHandler] Don't throw deprecations for HttplugClient [Serializer] Fix denormalization of object with typed constructor arg (not castable) and with COLLECT_DENORMALIZATION_ERRORS Avoid leading .. for temporary files from Filesystem recursive remove
2 parents 82b6c62 + b2f79d8 commit fd588de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Filesystem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private static function doRemove(array $files, bool $isRecursive): void
161161
}
162162
} elseif (is_dir($file)) {
163163
if (!$isRecursive) {
164-
$tmpName = \dirname(realpath($file)).'/.'.strrev(strtr(base64_encode(random_bytes(2)), '/=', '-.'));
164+
$tmpName = \dirname(realpath($file)).'/.'.strrev(strtr(base64_encode(random_bytes(2)), '/=', '-_'));
165165

166166
if (file_exists($tmpName)) {
167167
try {

0 commit comments

Comments
 (0)