正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -332,6 +332,8 @@ class Mail { | @@ -332,6 +332,8 @@ class Mail { | ||
| 332 | 332 | ||
| 333 | if(!empty($item['charset'])){ | 333 | if(!empty($item['charset'])){ |
| 334 | $value = iconv($item['charset'],'utf-8',$item['body']); | 334 | $value = iconv($item['charset'],'utf-8',$item['body']); |
| 335 | + }else{ | ||
| 336 | + $value = $item['body']; | ||
| 335 | } | 337 | } |
| 336 | $value=preg_replace("/<(script.*?)>(.*?)<(\/script.*?)>/si","",$value); //过滤script标签 | 338 | $value=preg_replace("/<(script.*?)>(.*?)<(\/script.*?)>/si","",$value); //过滤script标签 |
| 337 | $value=preg_replace("/<(\/?script.*?)>/si","",$value); //过滤script标签 | 339 | $value=preg_replace("/<(\/?script.*?)>/si","",$value); //过滤script标签 |
-
请 注册 或 登录 后发表评论