Skip to content

Commit 7c0d6e4

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: [Router] Discard in-memory cache of routes when writing the file-based cache [Security] Verify Hungarian translation force HTTP 1.1 for Mailgun API requests [String] Revert "Fixed u()->snake(), b()->snake() and s()->snake() methods" normalize underscores in snake() [Security][Validator] Added missing Portuguese(pt) translations Fixes #54550 some pt_BR translations Fix MockArraySessionStorage to generate more conform ids Bump Symfony version to 5.4.42 Update VERSION for 5.4.41 Update CONTRIBUTORS for 5.4.41 Update CHANGELOG for 5.4.41
2 parents 27de8cc + a33dd71 commit 7c0d6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Session/Storage/MockArraySessionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function getMetadataBag(): MetadataBag
216216
*/
217217
protected function generateId(): string
218218
{
219-
return hash('sha256', uniqid('ss_mock_', true));
219+
return bin2hex(random_bytes(16));
220220
}
221221

222222
/**

0 commit comments

Comments
 (0)