Skip to content

Commit ae8a119

Browse files
Merge branch '7.0' into 7.1
* 7.0: Revert "bug #57520 [SecurityBundle] Remove unused memory users’ `name` attribute from the XSD (MatTheCat)" [HttpKernel] Enable optional cache-warmers when cache-dir != build-dir [Filesystem] Fix Filesystem::remove() on Windows [DoctrineBridge] Fix compat with DI >= 6.4 [String] Fix *String::snake methods
2 parents 802e870 + d992a5e commit ae8a119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

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

169169
if (file_exists($tmpName)) {
170170
try {

0 commit comments

Comments
 (0)