浏览代码

Fix extra quotes around domain and username

Jaap Marcus 3 年之前
父节点
当前提交
120d7200e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/edit/web/index.php

+ 1 - 1
web/edit/web/index.php

@@ -790,7 +790,7 @@ if (!empty($_POST['save'])) {
                         $hostname = get_hostname();
                         $hostname = get_hostname();
                         $from = "noreply@".$hostname;
                         $from = "noreply@".$hostname;
                         $from_name = _('Hestia Control Panel');
                         $from_name = _('Hestia Control Panel');
-                        $mailtext = sprintf(_('FTP_ACCOUNT_READY'), quoteshellarg($_GET['domain']), $user, $v_ftp_username, $v_ftp_user_data['v_ftp_password']);
+                        $mailtext = sprintf(_('FTP_ACCOUNT_READY'), $v_domain, $user_plain, $v_ftp_username, $v_ftp_user_data['v_ftp_password']);
                         send_email($to, $subject, $mailtext, $from, $from_name);
                         send_email($to, $subject, $mailtext, $from, $from_name);
                         unset($v_ftp_email);
                         unset($v_ftp_email);
                     }
                     }