Skip to content

fix(broadcaster): incorrect channel matching because of dot in pattern#54303

Merged
taylorotwell merged 2 commits intolaravel:11.xfrom
021-projects:11.x
Jan 22, 2025
Merged

fix(broadcaster): incorrect channel matching because of dot in pattern#54303
taylorotwell merged 2 commits intolaravel:11.xfrom
021-projects:11.x

Conversation

@021-projects
Copy link
Copy Markdown
Contributor

Issue: Because of the dot in the pattern, Broadcaster can resolve an incorrect channel. For example, if we have two channels orders.{id} and ordersShipment, and orders.{id} was added earlier than ordersShipment, then when trying to authorize in the ordersShipment channel, the orders.{id} channel will be resolved, because in regular expressions . is any character

@taylorotwell taylorotwell merged commit dbe6b14 into laravel:11.x Jan 22, 2025
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.

2 participants