Skip to content

Topic Pattern *_ matches everything #840

Closed
@Joe-0237

Description

@Joe-0237

🐞 Describe the bug
Any ACL Topic Pattern containing only underscores and stars _ * matches all topics: eg.
_*, *_, _*_*_, __*__, _*_

💻 Components impacted
Server

🔮 Additional context
To reproduce:
with the default permission set to read-write
as an anonymous user
deny access to everyone for *_ ntfy access everyone *_ deny
attempt to subscribe to test

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions