-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add Base64url encoding/decoding #102364
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
Merged
Merged
Add Base64url encoding/decoding #102364
Changes from 8 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
763212a
Base64Url encoding, validation impelementation
buyaa-n ea764bb
Validation related updates
buyaa-n 4489fcb
Try fix perf regression in vectorized methods
buyaa-n 238b763
Add decoder implementation and unit tests
buyaa-n f378eb5
Share code in place decoding code
buyaa-n 3f6ea88
Add span<char> oveloads with vectorization
buyaa-n 2fe5d49
Generalize Span char/byte implementations
buyaa-n febb4d9
Move ref update to runtime and other cleanup
buyaa-n d40034f
Merge branch 'main' of github.com:dotnet/runtime into base64url
buyaa-n 0994bc8
Generalize the AdvSimd.Arm64 vectorization added recently
buyaa-n 492694b
Apply suggestions from code review
buyaa-n c45f58c
Apply some feedback
buyaa-n 4bcd58a
Try fix ARM failure
buyaa-n b0115c5
Use array pool whenever applicable
buyaa-n d1faf6a
Handle '%' as url padding, add more tests and fix findings
buyaa-n c2ff2cb
Fix assertion failure, apply some feedback, try fix ARM failure
buyaa-n b1d4f76
Update docs, small clean ups
buyaa-n 0f6fe6a
Try fix ARM failure
buyaa-n 344bbb6
Update src/libraries/System.Private.CoreLib/src/System/Buffers/Text/B…
buyaa-n b657a99
Rename StoreToDetionation overloads, reuse some duplicate code
buyaa-n 140663d
Improve perf for Base.IsValid() oveerloads, exclude ARM vectorization…
buyaa-n c4c605d
Apply feedbacks
buyaa-n 61095dd
Revert Assert
buyaa-n b338a94
Fix ARM vectorization failure for char overload
buyaa-n 7d4242d
Apply suggestions from code review
buyaa-n f6c4d93
Apply suggestions from code review
buyaa-n 6c1035d
Apply more feedback
buyaa-n 2243060
Apply suggestions from code review
buyaa-n 42543e8
Apply review comment left overs
buyaa-n bdbdbab
Apply suggestions from code review
buyaa-n b871d6d
Apply remaining feedback
buyaa-n 73bd7df
Apply suggestions from code review
buyaa-n 070f685
Apply the doc feedback for other API docs
buyaa-n aed94cb
Merge branch 'main' of github.com:dotnet/runtime into base64url
buyaa-n 00139b2
Fix Base64Url fuzzer findings
buyaa-n dea9006
Apply suggestions from code review
buyaa-n e617b8f
Rename utf8 -> source/destintion
buyaa-n c3ff207
Apply feedbacks
buyaa-n 154b400
Apply feedback
buyaa-n 4ccdde8
Apply left out feedbacks
buyaa-n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.