-
-
Notifications
You must be signed in to change notification settings - Fork 32k
buffer: add base64url encoding option #36952
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ assert.strictEqual(parseEncoding(''), 'UNKNOWN'); | |
|
||
assert.strictEqual(parseEncoding('ascii'), 'ASCII'); | ||
assert.strictEqual(parseEncoding('base64'), 'BASE64'); | ||
assert.strictEqual(parseEncoding('base64url'), 'BASE64URL'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you also need to add this to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did now, locally. But i need to rebuild them somehow :) before i waste ci time i'd like to get local pass There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See, i did that and it still fails. In CI too :( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. possibly src/api/encoding.cc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @panva Was just about to say that :) Yes, that parser also needs to be updated here, it seems There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm certain about the second part of the diff, not so much about the first one - do you see a better way to optimize the distinction between |
||
assert.strictEqual(parseEncoding('binary'), 'LATIN1'); | ||
assert.strictEqual(parseEncoding('buffer'), 'BUFFER'); | ||
assert.strictEqual(parseEncoding('hex'), 'HEX'); | ||
|
Uh oh!
There was an error while loading. Please reload this page.