Skip to content

Fix getUniqueId with array data#188

Merged
markstory merged 2 commits into
2.xfrom
fix-uniqueid-collision
Jun 9, 2026
Merged

Fix getUniqueId with array data#188
markstory merged 2 commits into
2.xfrom
fix-uniqueid-collision

Conversation

@markstory

Copy link
Copy Markdown
Member

The QueueManager::getUniqueId() should not drop keys when sorting to create canonical data shapes for idempotency keys. Dropping keys allows data with different key semantics to be the 'same'. Instead we should recursively sort data by key.

Thanks to Volker Dusch and the PHP Ecosystem security team for reporting this.

markstory added 2 commits June 7, 2026 11:10
The QueueManager::getUniqueId() should not drop keys when sorting to
create canonical data shapes for idempotency keys. Dropping keys allows
data with different key semantics to be the 'same'. Instead we should
recursively sort data by key.

Thanks to Volker Dusch and the PHP Ecosystem security team for reporting
this.
@markstory markstory merged commit 4a9d77a into 2.x Jun 9, 2026
9 checks passed
@markstory markstory deleted the fix-uniqueid-collision branch June 9, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant