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
Hi a minor issue here: if the password includes a special character like '#' influx-cli will truncate the password and result in error
influx> list series
Server returned (401): Invalid username/password
influx>
for instance for this config in .influxrc
user = "root1"
pass = "root#root"
will result in this request
GET /db/metrics/series?u=root1&p=root HTTP/1.1
User-Agent: Go 1.1 package http
Accept-Encoding: identity
when escaping the character it will return
influx-cli
Near line 4, key 'pass': Near line 4: Invalid escape character '#'. Only the following escape characters are allowed: \b, \t, \n, \f, \r, ", /, , and \uXXXX.
The text was updated successfully, but these errors were encountered:
it shouldn't be up to the user to do url encoding in the config.
you should be able to put your pass in the config the way it is, and influx-cli should do the url encoding when issuing the request.
would you be interested in patching this and filing a PR?
Hi a minor issue here: if the password includes a special character like '#' influx-cli will truncate the password and result in error
influx> list series
Server returned (401): Invalid username/password
influx>
for instance for this config in .influxrc
user = "root1"
pass = "root#root"
will result in this request
GET /db/metrics/series?u=root1&p=root HTTP/1.1
User-Agent: Go 1.1 package http
Accept-Encoding: identity
when escaping the character it will return
The text was updated successfully, but these errors were encountered: