Repository navigation
Commit 37c17bb
committed
basenc: preserve decoded prefixes on invalid input
Preserve decoded bytes before invalid input, padding, trailing bits and
read failures without changing the codec padding rules. Keep valid input
batched.
Adjust the GNU base64url expectation to retain the valid prefix before
an invalid alphabet character. Both GNU basenc and base64 suites pass,
along with 85 native decoder integration tests.
Closes #6008.1 parent 8b16a3d commit 37c17bb
5 files changed
Lines changed: 275 additions & 230 deletions
File tree
- src
- uucore/src/lib/features
- uu/base32/src
- tests/by-util
- util
0 commit comments