influxdb-cpp icon indicating copy to clipboard operation
influxdb-cpp copied to clipboard

HTTP should do URL encode

Open liaow10 opened this issue 2 years ago • 2 comments

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.

liaow10 avatar Sep 24 '21 11:09 liaow10

got it

orca-zhang avatar Oct 21 '21 05:10 orca-zhang

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.

ramiztwins avatar Aug 14 '23 10:08 ramiztwins

https://github.com/orca-zhang/influxdb-cpp#remarks-for-special-characters-in-password

orca-zhang avatar Apr 09 '24 13:04 orca-zhang