作者 邓超

解码问题

@@ -37,7 +37,7 @@ class MailFun { @@ -37,7 +37,7 @@ class MailFun {
37 * @time 2023/3/27 13:55 37 * @time 2023/3/27 13:55
38 */ 38 */
39 public static function mb_coding(string $str,array $appcode=[]){ 39 public static function mb_coding(string $str,array $appcode=[]){
40 - return (new Header())->decode(trim($str)); 40 + return (new Header())->decode(trim($str," \t\n\r"));
41 } 41 }
42 42
43 43