IntlCalendar and adds a property). (Laruence)
- OpenSSL:
- . Use strict mode when decoding base64 in openssl_decrypt().
+ . Use strict mode when decoding base64 in openssl_decrypt(). (Lauri Kenttä)
- SPL:
. Fixed bug #72646 (SplFileObject::getCsvControl does not return the escape
character). (cmb)
- Standard:
- . Made padding checks in base64_decode() strict mode stricter.
+ . Made base64_decode() padding checks in strict mode stricter. (Lauri Kenttä)
+ . Made base64_decode() in non-strict mode binary safe. (Lauri Kenttä)
- Streams:
- . Use strict mode when decoding base64 in data URIs.
+ . Use strict mode when decoding base64 in data URIs. (Lauri Kenttä)
- XMLRPC:
. Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing
/* run through the whole string, converting as we go */
while (length-- > 0) {
ch = *current++;
- /* stop on null byte in non-strict mode (FIXME: is this really desired?) */
- if (ch == 0 && !strict) {
- break;
- }
if (ch == base64_pad) {
padding++;
continue;
base64 "VV*==" non-strict "U" strict false
base64 "VV=*=" non-strict "U" strict false
base64 "VV==*" non-strict "U" strict false
-base64 "\u0000VV==" non-strict "" strict false
-base64 "V\u0000V==" non-strict "" strict false
+base64 "\u0000VV==" non-strict "U" strict false
+base64 "V\u0000V==" non-strict "U" strict false
base64 "VV\u0000==" non-strict "U" strict false
base64 "VV=\u0000=" non-strict "U" strict false
base64 "VV==\u0000" non-strict "U" strict false
-base64 "\u0000VVV==" non-strict "" strict false
-base64 "V\u0000VV==" non-strict "" strict false
-base64 "VV\u0000V==" non-strict "U" strict false
+base64 "\u0000VVV==" non-strict "UU" strict false
+base64 "V\u0000VV==" non-strict "UU" strict false
+base64 "VV\u0000V==" non-strict "UU" strict false
base64 "VVV\u0000==" non-strict "UU" strict false
base64 "VVV=\u0000=" non-strict "UU" strict false
base64 "VVV==\u0000" non-strict "UU" strict false