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
The method InfluxDbClientBase.BuildUri escapes username and password but not the extra parameters.
I ran a select query which contained the character ':'. The server responed with a parsing error. Then I changed the code to HttpUtility.UrlEncode(param.Value) but it didn't work because the ':' was not escaped. Then I changed HttpUtility.UrlEncode to use Uri.EscapeDataString. Now everything was escaped correctly and the server accepted the query.
I haven't created a pull request because I'm not sure if this was the correct way to go.
The text was updated successfully, but these errors were encountered:
The method InfluxDbClientBase.BuildUri escapes username and password but not the extra parameters.
I ran a select query which contained the character ':'. The server responed with a parsing error. Then I changed the code to
HttpUtility.UrlEncode(param.Value)
but it didn't work because the ':' was not escaped. Then I changed HttpUtility.UrlEncode to use Uri.EscapeDataString. Now everything was escaped correctly and the server accepted the query.I haven't created a pull request because I'm not sure if this was the correct way to go.
The text was updated successfully, but these errors were encountered: