derick Fri Feb 24 16:05:38 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src NEWS
/php-src/ext/iconv iconv.c
Log:
- MFH: Fixed issue with iconv_mime_decode where the "encoding" would only
allow
upper case specifiers.
#- See RFC 2047, section 2.
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.426&r2=1.2027.2.427&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.426 php-src/NEWS:1.2027.2.427
--- php-src/NEWS:1.2027.2.426 Fri Feb 24 10:19:54 2006
+++ php-src/NEWS Fri Feb 24 16:05:38 2006
@@ -24,6 +24,8 @@
- 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)
http://cvs.php.net/viewcvs.cgi/php-src/ext/iconv/iconv.c?r1=1.124.2.5&r2=1.124.2.6&diff_format=u
Index: php-src/ext/iconv/iconv.c
diff -u php-src/ext/iconv/iconv.c:1.124.2.5 php-src/ext/iconv/iconv.c:1.124.2.6
--- php-src/ext/iconv/iconv.c:1.124.2.5 Sun Jan 1 12:50:08 2006
+++ php-src/ext/iconv/iconv.c Fri Feb 24 16:05:38 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: iconv.c,v 1.124.2.5 2006/01/01 12:50:08 sniper Exp $ */
+/* $Id: iconv.c,v 1.124.2.6 2006/02/24 16:05:38 derick Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1395,11 +1395,13 @@
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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php