derick          Fri Feb 24 16:04:55 2006 UTC

  Modified files:              
    /php-src/ext/iconv  iconv.c 
  Log:
  - 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/ext/iconv/iconv.c?r1=1.131&r2=1.132&diff_format=u
Index: php-src/ext/iconv/iconv.c
diff -u php-src/ext/iconv/iconv.c:1.131 php-src/ext/iconv/iconv.c:1.132
--- php-src/ext/iconv/iconv.c:1.131     Sun Jan  1 13:09:50 2006
+++ php-src/ext/iconv/iconv.c   Fri Feb 24 16:04:55 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: iconv.c,v 1.131 2006/01/01 13:09:50 sniper Exp $ */
+/* $Id: iconv.c,v 1.132 2006/02/24 16:04:55 derick Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1398,11 +1398,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

Reply via email to