8000 Merge branch '7.1' into 7.2 · symfony/filesystem@b75b609 · GitHub
[go: up one dir, main page]

Skip to content

Commit b75b609

Browse files
Merge branch '7.1' into 7.2
* 7.1: [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 49519d9 + ae8a119 commit b75b609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
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)
0