正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -40,6 +40,9 @@ class Header{ | @@ -40,6 +40,9 @@ class Header{ | ||
40 | $raw_header = explode("\r\n\r\n",trim($raw_header),2); | 40 | $raw_header = explode("\r\n\r\n",trim($raw_header),2); |
41 | 41 | ||
42 | $this->raw_header = $raw_header[0]; | 42 | $this->raw_header = $raw_header[0]; |
43 | + $this->raw_header = str_replace("\r\n","\n",$this->raw_header); | ||
44 | + $this->raw_header = str_replace("\n","\r\n",$this->raw_header); | ||
45 | + | ||
43 | // qq的会把退信 内容以header形式返回 | 46 | // qq的会把退信 内容以header形式返回 |
44 | $this->raw_body = $raw_header[1]??''; | 47 | $this->raw_body = $raw_header[1]??''; |
45 | 48 |
-
请 注册 或 登录 后发表评论