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

Escape values of extra credentials and session properties #127

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

nineinchnick
Copy link
Member

Correctly escape values of extra credentials and session properties when
building HTTP headers.

Change the format of extra credentials and session properties in the URL
to match the Trino JDBC and Python drivers - keys and values are
separated with a colon (:) and multiple entries are separated with a
semicolon (;). Note: all special characters, including the semicolon,
must be URL escaped.

Fixes #125

@nineinchnick nineinchnick added bug Something isn't working breaking-change Includes changes that would require changes in the application using this driver labels Oct 6, 2024
@cla-bot cla-bot bot added the cla-signed label Oct 6, 2024
Correctly escape values of extra credentials and session properties when
building HTTP headers.

Change the format of extra credentials and session properties in the URL
to match the Trino JDBC and Python drivers - keys and values are
separated with a colon (`:`) and multiple entries are separated with a
semi-colon (`;`). Note: all special characters, including the semicolon,
must be URL escaped.
@nineinchnick
Copy link
Member Author

@wendigo @hashhar PTAL

@nineinchnick nineinchnick merged commit 3d1f94d into trinodb:master Oct 14, 2024
5 checks passed
@nineinchnick nineinchnick deleted the escape-extra-creds branch October 14, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Includes changes that would require changes in the application using this driver bug Something isn't working cla-signed
Development

Successfully merging this pull request may close these issues.

Special characters support in extra credentials.
2 participants