瀏覽代碼

Note a bug

pdontthink 12 年之前
父節點
當前提交
70fcd2f2ea
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      functions/mime.php

+ 1 - 0
functions/mime.php

@@ -806,6 +806,7 @@ function decodeHeader ($string, $utfencode=true,$htmlsafe=true,$decide=false) {
     $iLastMatch = -2;
     $iLastMatch = -2;
     $encoded = true;
     $encoded = true;
 
 
+// FIXME: spaces are allowed inside quoted-printable encoding, but the following line will bust up any such encoded strings
     $aString = explode(' ',$string);
     $aString = explode(' ',$string);
     $ret = '';
     $ret = '';
     foreach ($aString as $chunk) {
     foreach ($aString as $chunk) {