You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect a URL encoded password to be accepted with the "-L" option.
Repro:
Set a password with a character that requires encoding, such as p@ssword
Publish a message using the -L flag, with the password properly URI encoded. Example: mosquitto_pub -L "mqtt:https://mosquitto:p%[email protected]:1883/topic/phone" -m hello
Result:Connection error: Connection Refused: not authorised.
Note, passing the password (unencoded) works fine with the -P switch: mosquitto_pub -u mosquitto -P p@ssword -h 10.1.1.10 -p 1883 -t topic/phone -m hello
Found on mosquitto_pub version 1.6.7 running on libmosquitto 1.6.7.
The text was updated successfully, but these errors were encountered:
I would expect a URL encoded password to be accepted with the "-L" option.
Repro:
p@ssword
-L
flag, with the password properly URI encoded. Example:mosquitto_pub -L "mqtt:https://mosquitto:p%[email protected]:1883/topic/phone" -m hello
Result:
Connection error: Connection Refused: not authorised.
Note, passing the password (unencoded) works fine with the
-P
switch:mosquitto_pub -u mosquitto -P p@ssword -h 10.1.1.10 -p 1883 -t topic/phone -m hello
Found on mosquitto_pub version 1.6.7 running on libmosquitto 1.6.7.
The text was updated successfully, but these errors were encountered: