orca-zhang / influxdb-cpp

💜 C++ client for InfluxDB.
MIT License
163 stars 83 forks source link

HTTP should do URL encode #38

Closed liaow10 closed 6 months ago

liaow10 commented 3 years 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.

orca-zhang commented 3 years ago

got it

ramiztwins commented 1 year ago

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.

orca-zhang commented 6 months ago

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