MQTT: Unexpected handling of multi-level wildcard ("#") #7316
I did this
Try to do an MQTT subscribe using the multi-level wildcard (
I expected the following
curl subscribing using the multi-level wildcard (
Workaround: Percent-encode the wildcard (i.e.
Alpine Linux 3.14.0
The text was updated successfully, but these errors were encountered:
@bagder Thank you for the quick fix.
There's another, non-minimal, case where this is an issue, and actually more subtle - when the topic consists of more than the wildcard:
In this case, curl will subscribe to
Thus, could you also add a warning for this case with reasonable effort? At least in verbose mode to help with debugging if you think it's too much otherwise? ... or could/should there rather be a generic warning for all protocols maybe, in case there is a fragment part and it's being dropped?