浏览代码

* Added the _ to further ensure that the bounary string can't be made
by accident in a MIME-encoded file.

Tyler Akins 24 年之前
父节点
当前提交
88175651c0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -115,7 +115,7 @@
       static $mimeBoundaryString;
       static $mimeBoundaryString;
 
 
       if ($mimeBoundaryString == "") {
       if ($mimeBoundaryString == "") {
-         $mimeBoundaryString = "----=" . 
+         $mimeBoundaryString = "----=_" . 
 	     GenerateRandomString(60, '\'()+,-./:=?_', 7);
 	     GenerateRandomString(60, '\'()+,-./:=?_', 7);
       }
       }