Alex Dowad
4b370330d4
Ensure that Base64 output always wraps lines in the same manner as legacy implementation
...
The legacy Base64 conversion code in mbstring automatically
wrapped the output to 72 columns, and the new code imitates
this behavior. Frankly, I'm not sure if this is a good idea
or not (people could easily manually wrap it if they want to),
but have stuck with this behavior for backwards compatibility.
However, fuzzing revealed one case where we were not wrapping
to 72 columns; if the input string is not a multiple of 3
characters, meaning that the output must be padded, and the
point where we must add the final (padded) output happens to
be just beyond 72 columns.
2022-08-16 16:43:27 +02:00
..
2022-06-17 14:12:53 +02:00
2022-06-25 07:40:19 +01:00
2022-07-19 15:11:42 +02:00
2022-07-19 15:11:42 +02:00
2022-07-25 23:56:14 +01:00
2022-06-26 01:00:19 +02:00
2022-08-11 16:26:46 +01:00
2022-08-04 16:23:26 +02:00
2022-06-17 16:33:20 +02:00
2022-07-19 15:11:42 +02:00
2022-07-19 15:11:42 +02:00
2022-07-19 15:11:42 +02:00
2022-08-11 09:32:18 +03:00
2022-07-25 23:56:14 +01:00
2022-07-19 15:11:42 +02:00
2022-07-19 15:11:42 +02:00
2022-07-30 15:18:06 +02:00
2022-07-19 15:11:42 +02:00
2022-07-19 15:11:42 +02:00
2022-07-25 23:56:14 +01:00
2022-08-12 16:25:46 +02:00
2022-08-15 18:10:54 +02:00
2022-08-09 12:45:14 +02:00
2022-07-19 15:11:42 +02:00
2022-07-19 15:11:42 +02:00
2022-08-16 16:43:27 +02:00
2022-07-19 15:11:42 +02:00
2022-06-10 12:45:30 -04:00
2022-07-22 17:17:03 +01:00
2022-07-28 21:09:18 +02:00
2022-08-12 17:12:28 +01:00
2022-08-07 14:22:33 +01:00
2022-08-09 21:16:21 +01:00
2022-07-25 23:56:14 +01:00
2022-08-04 17:16:27 +02:00
2021-12-15 08:38:35 -05:00
2022-07-28 21:09:18 +02:00
2022-06-09 13:42:45 +02:00
2022-06-13 14:44:49 +02:00
2022-06-09 13:29:20 +01:00
2022-07-27 13:11:58 +02:00
2022-07-28 19:36:04 +01:00
2022-07-22 13:09:23 +02:00
2022-07-22 13:08:58 +02:00
2022-07-22 13:08:44 +02:00
2022-08-16 05:31:58 +01:00
2022-07-23 12:33:44 +02:00
2022-07-29 12:15:38 +02:00
2022-08-12 19:52:04 +02:00
2022-06-26 01:00:19 +02:00
2022-07-26 14:48:16 +02:00
2022-07-25 16:40:41 +02:00
2022-08-16 13:18:31 +02:00
2022-08-02 13:57:52 +02:00
2022-08-02 16:37:12 +02:00
2022-07-28 18:18:08 +02:00
2022-08-15 19:49:24 +01:00
2022-07-25 16:21:01 +02:00
2022-05-16 14:47:02 +02:00
2022-06-26 01:00:19 +02:00
2022-08-01 10:50:56 +02:00
2022-07-25 21:31:24 +02:00
2022-07-26 05:57:11 +02:00
2022-05-22 16:06:27 +01:00
2022-07-25 21:32:07 +02:00
2022-08-04 17:16:27 +02:00
2022-08-16 10:18:24 +02:00
2022-07-27 00:42:19 +02:00