Zoltán Kéri
d802a4e9fa
encoding/base32: Fix padding validation for malformed input
...
Fix a bug where padding characters in the middle of input were
not detected when there was no trailing padding.
The "verify no padding in middle" check was inside `if
padding_count > 0`, so inputs like "MZ===YTBMZXW6YTB" would
incorrectly pass validation.
Test case added for this edge case.
2025-12-27 04:30:37 +01:00
..
2025-04-19 20:25:44 +02:00
2024-09-05 13:30:46 +02:00
2024-08-26 16:20:08 -04:00
2025-10-28 14:53:26 +00:00
2025-09-15 14:50:33 +02:00
2025-10-28 14:38:25 +00:00
2025-12-27 04:30:37 +01:00
2025-08-08 12:33:34 +01:00
2025-01-05 13:46:58 +00:00
2025-10-21 16:33:07 +02:00
2025-10-28 14:38:25 +00:00
2024-08-28 19:53:20 +02:00
2025-11-30 22:23:01 +01:00
2025-09-16 16:31:10 -05:00
2025-12-21 19:10:42 +01:00
2025-06-22 09:42:33 -04:00
2025-05-11 15:35:52 +02:00
2024-06-29 18:51:28 +01:00
2025-04-11 23:31:02 +02:00
2025-11-02 12:13:11 +01:00
2025-01-05 13:46:58 +00:00
2025-05-10 15:11:52 +02:00
2025-05-31 20:24:21 +02:00
2025-06-21 11:47:00 +02:00
2025-12-20 16:55:06 -05:00
2025-06-16 11:25:32 -04:00
2025-05-26 14:48:45 -04:00
2024-06-02 14:47:09 -04:00
2024-11-20 15:33:20 -08:00
2024-08-26 16:20:08 -04:00
2025-09-09 17:13:21 +02:00
2025-09-09 17:13:21 +02:00
2025-10-14 23:30:38 +02:00
2025-06-11 00:40:52 +02:00