Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topics with dots (.) are considered invalid #2

Open
cbergmiller opened this issue Aug 20, 2020 · 3 comments
Open

Topics with dots (.) are considered invalid #2

cbergmiller opened this issue Aug 20, 2020 · 3 comments

Comments

@cbergmiller
Copy link

The topic name "/5958757/10.5.0.2" does not match the TOPIC_FILTER_REGEX and raises ValueError("Invalid topic filter") when Client.subscribe is called.
Would you accept an pull request with a modified regex?
Or would it be possible to set TOPIC_FILTER_REGEX as an class attribute on Client so that it could be changed by sub-classing Client?

@DmitriiTrofimov
Copy link

Oh. Yes, you can make the pull request. Thank you a lot!

@skewty
Copy link

skewty commented Dec 7, 2022

Also "#" topic is invalid.

@devbis
Copy link

devbis commented Mar 19, 2023

Use the fork https://pypi.org/project/aio-mqtt-mod/ as this project seems abandoned.

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

No branches or pull requests

4 participants