Skip to content

Commit 581574f

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: [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 1d11549 + bb1980e commit 581574f

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
@@ -169,7 +169,7 @@ public function getMetadataBag(): MetadataBag
169169
*/
170170
protected function generateId(): string
171171
{
172-
return hash('xxh128', uniqid('ss_mock_', true));
172+
return bin2hex(random_bytes(16));
173173
}
174174

175175
protected function loadSession(): void

0 commit comments

Comments
 (0)