Commit 039b28e
[release/7.0] Base64.Decode: fixed latent bug for non-ASCII inputs (#76812)
* Added test cases
* Fix
* Use unicode escape sequence in tests
* Apply suggestions from code review
Co-authored-by: Günther Foidl <gue@korporal.at>
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>1 parent 9c14efc commit 039b28e
File tree
2 files changed
+19
-1
lines changed- src/libraries
- System.Memory/tests/Base64
- System.Private.CoreLib/src/System/Buffers/Text
2 files changed
+19
-1
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
275 | 292 | | |
276 | 293 | | |
277 | 294 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
595 | 596 | | |
596 | | - | |
| 597 | + | |
597 | 598 | | |
598 | 599 | | |
599 | 600 | | |
| |||
0 commit comments