-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bridge config does not support spaces in topic names #658
Comments
The topic directive has several parameters. How can we distinguish between a delimiter and a character of space? |
Allow escaped space? "%20" or "\ " or "+", or quoted names. |
Fails backward compatibility. |
You should not be backwards compatible with a bug |
I think it's not a bug, but a current spec of mosquitto. The bridge topic of mosquitto cannot include spaces implicitly, because there are some delimiters in the directive (bridge) topic. The bridge feature purely depends on each implementation of broker because there is no description of bridge in the standard. Therefore, I'm afraid I think your insist is a little rough. We have two options:
|
Could it be possible to accept optional single quotes around the topic name in the bridge configuration? Accepting all these examples?: topic 'example/topic/with / spaces/#' in 0 "" "" |
Even though they should not, topics can include spaces. Bridges configuration does not support this.
https://github.com/eclipse/mosquitto/blob/master/src/conf.c#L1551
Should use
conf_parse_string
?The text was updated successfully, but these errors were encountered: