...
|
...
|
@@ -234,8 +234,8 @@ class MailFun { |
|
|
* @time 2023/4/3 10:24
|
|
|
*/
|
|
|
public static function isBase64($str){
|
|
|
$oldStr = str_replace([' ',"\n","\r"],'',rtrim($str,'='));
|
|
|
return $oldStr == base64_encode(base64_decode($str));
|
|
|
$oldStr = str_replace(["\n","\r"],'',rtrim($str,'='));
|
|
|
return $oldStr == rtrim(base64_encode(base64_decode($str)),'=');
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|