Skip to content

Fix getUniqueId with array data#188

Open
markstory wants to merge 2 commits into
2.xfrom
fix-uniqueid-collision
Open

Fix getUniqueId with array data#188
markstory wants to merge 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.
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