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

Fix bug where equal sign could not be in value of header #84

Conversation

hugosjoberg
Copy link
Contributor

Fix bug in #83

If the value contains an = the code would crash. There are scenarios where the key could have an equal sign for example when passing in a bearer token.

This PR splits the header on the first = in the headers. This PR also adds a test case to verify that the change works as expected.

@xiangfu0 xiangfu0 requested a review from snleee November 30, 2023 20:03
Copy link
Contributor

@xiangfu0 xiangfu0 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@xiangfu0 xiangfu0 merged commit 11482ba into python-pinot-dbapi:master Nov 30, 2023
10 checks passed
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.

2 participants