Просмотр исходного кода

Release patch for Ubuntu 18.04

Jaap Marcus 2 лет назад
Родитель
Сommit
da5ab0545f
4 измененных файлов с 15 добавлено и 7 удалено
  1. 8 0
      CHANGELOG.md
  2. 1 1
      src/deb/hestia/control
  3. 3 3
      web/add/mail/index.php
  4. 3 3
      web/edit/mail/index.php

+ 8 - 0
CHANGELOG.md

@@ -2,6 +2,14 @@
 
 
 All notable changes to this project will be documented in this file.
 All notable changes to this project will be documented in this file.
 
 
+## [1.7.9] - Service release
+
+- This will be the final release for Ubuntu 18.04 please upgrade your servers to Ubuntu 20.04 or 22.04!
+
+### Security
+
+- Fixed an security issue when changing / adding mail domain relay
+
 ## [1.7.8] - Service release
 ## [1.7.8] - Service release
 
 
 ### Security
 ### Security

+ 1 - 1
src/deb/hestia/control

@@ -1,7 +1,7 @@
 Source: hestia
 Source: hestia
 Package: hestia
 Package: hestia
 Priority: optional
 Priority: optional
-Version: 1.7.8
+Version: 1.7.9
 Section: admin
 Section: admin
 Maintainer: HestiaCP <info@hestiacp.com>
 Maintainer: HestiaCP <info@hestiacp.com>
 Homepage: https://www.hestiacp.com
 Homepage: https://www.hestiacp.com

+ 3 - 3
web/add/mail/index.php

@@ -167,11 +167,11 @@ if (!empty($_POST["ok"])) {
 						$v_domain .
 						$v_domain .
 						" " .
 						" " .
 						$v_smtp_relay_host .
 						$v_smtp_relay_host .
-						" '" .
+						" " .
 						$v_smtp_relay_user .
 						$v_smtp_relay_user .
-						"' '" .
+						" " .
 						$v_smtp_relay_pass .
 						$v_smtp_relay_pass .
-						"' " .
+						" " .
 						$v_smtp_relay_port,
 						$v_smtp_relay_port,
 					$output,
 					$output,
 					$return_var,
 					$return_var,

+ 3 - 3
web/edit/mail/index.php

@@ -700,11 +700,11 @@ if (!empty($_POST["save"]) && !empty($_GET["domain"]) && empty($_GET["account"])
 						quoteshellarg($v_domain) .
 						quoteshellarg($v_domain) .
 						" " .
 						" " .
 						$v_smtp_relay_host .
 						$v_smtp_relay_host .
-						" '" .
+						" " .
 						$v_smtp_relay_user .
 						$v_smtp_relay_user .
-						"' '" .
+						" " .
 						$v_smtp_relay_pass .
 						$v_smtp_relay_pass .
-						"' " .
+						" " .
 						$v_smtp_relay_port,
 						$v_smtp_relay_port,
 					$output,
 					$output,
 					$return_var,
 					$return_var,