-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Introduce a checkbox in Basic Auth form to choose ISO-8859-1 encoding for credentials. #2642
Introduce a checkbox in Basic Auth form to choose ISO-8859-1 encoding for credentials. #2642
Conversation
6c67c84
to
0cde4ce
Compare
Actually, after looking through the PR, it appears that the default is Looks good from a product perspective, with one small suggestion that we put |
Deploy preview for insomnia-storybook ready! Built with commit 9361c8b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for doing this!
Small change I think is worth addressing, otherwise good to go.
packages/insomnia-app/app/ui/components/editors/auth/basic-auth.js
Outdated
Show resolved
Hide resolved
This checkbox will be unchecked by default.
I had to update network's "Handle Authorization header" to use getAuthHeader instead of libcurl options for Basic Http because it seems that libcurl does not let us choose the encoding.
9361c8b
to
d0add1b
Compare
@develohpanda I've rebased the PR and amended the 1st commit (#fef8cd3) with your suggestions. I let you take a look ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 💯
I'm going to merge this in, and will explore adding an end-to-end test for Core in the packages/insomnia-smoke-test
project. Feel free to give that a go separately, but it's a little new so there isn't much documentation or instructions as yet.
Introduce a checkbox in Basic Auth form to choose ISO-8859-1 encoding for credentials.
I had to update network's "Handle Authorization header" to use
getAuthHeader
instead of libcurl options for Basic Httpbecause it seems that lib-curl does not let us choose the encoding for Basic Auth credentials
Closes #1558