Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for special characters in password when using url keyword #242

Merged
merged 2 commits into from
Feb 6, 2021

Conversation

swistak35
Copy link
Contributor

This pull request makes it possible to use InfluxDB::Client.new(url: ...) form of configuration when having more complex password using special characters which are percent encoded in URI.

I'd be very grateful for making a patch release after merging pull request :)

userinfo part of URI allows to use percent-encoded characters, which should be decoded.
It is important in cases when the password is randomly-generated and includes characters which are allowed as influxdb
password but are reserved characters in URI.
Copy link
Collaborator

@ChrisBr ChrisBr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this LGTM.

cc @hennevogel

@hennevogel hennevogel merged commit 15515ac into InfluxCommunity:master Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants