mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
- MFH: Fixed issue with iconv_mime_decode where the "encoding" would only allow
upper case specifiers. #- See RFC 2047, section 2.
This commit is contained in:
@@ -24,6 +24,8 @@ PHP NEWS
|
||||
- Added ReflectionClass::newInstanceArgs($args). (Marcus)
|
||||
- Added imap_savebody() that allows message body to be written to a file.
|
||||
(Mike)
|
||||
- Fixed issue with iconv_mime_decode where the "encoding" would only allow
|
||||
upper case specifiers. (Derick)
|
||||
- Fixed tiger hash algorithm generating wrong results on big endian platforms.
|
||||
(Mike)
|
||||
- Fixed crash with DOMImplementation::createDocumentType("name:"). (Mike)
|
||||
|
||||
@@ -1395,11 +1395,13 @@ static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *st
|
||||
|
||||
case 3: /* expecting a encoding scheme specifier */
|
||||
switch (*p1) {
|
||||
case 'b':
|
||||
case 'B':
|
||||
enc_scheme = PHP_ICONV_ENC_SCHEME_BASE64;
|
||||
scan_stat = 4;
|
||||
break;
|
||||
|
||||
case 'q':
|
||||
case 'Q':
|
||||
enc_scheme = PHP_ICONV_ENC_SCHEME_QPRINT;
|
||||
scan_stat = 4;
|
||||
|
||||
Reference in New Issue
Block a user