正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -75,6 +75,11 @@ class Body { | @@ -75,6 +75,11 @@ class Body { | ||
| 75 | $items = explode("\r\n".$boundary, | 75 | $items = explode("\r\n".$boundary, | 
| 76 | str_replace(['--'.$boundary.'--', $boundary.'--','--'.$boundary],$boundary,"\r\n".$body) | 76 | str_replace(['--'.$boundary.'--', $boundary.'--','--'.$boundary],$boundary,"\r\n".$body) | 
| 77 | ); | 77 | ); | 
| 78 | + // qq的有邮箱有毛病,标记是乱的 | ||
| 79 | + if(count($items)==1 && preg_match("/^\*\s\d+\sFETCH\s\(/",$body)){ | ||
| 80 | + $this->parseRawHtml($body); | ||
| 81 | + return; | ||
| 82 | + } | ||
| 78 | // 第一个块和最后一块 是没用的块 | 83 | // 第一个块和最后一块 是没用的块 | 
| 79 | array_shift($items);array_pop($items); | 84 | array_shift($items);array_pop($items); | 
| 80 | foreach ($items as $item){ | 85 | foreach ($items as $item){ | 
- 
请 注册 或 登录 后发表评论