Closed liaow10 closed 6 months ago
When your password includes % or &, the http result will be 401 authentication failed. Because the password is set to url directly by concat strings. You should do url encoding before concating these parameters.
%
&
got it
Is it too late to remind about it? :D I can fix it myself, but it will be a solution for me and not for everyone.
https://github.com/orca-zhang/influxdb-cpp#remarks-for-special-characters-in-password
When your password includes
%
or&
, the http result will be 401 authentication failed. Because the password is set to url directly by concat strings. You should do url encoding before concating these parameters.