beautify ip-list when editing a domain as customer; correct 'sed'-command for fpm-setup for debian wheezy; add note for ftp-path validation (bug #1231)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-09-20 10:58:36 +02:00
parent 0475751cee
commit 98f1bc49fd
3 changed files with 5 additions and 19 deletions

View File

@@ -112,6 +112,7 @@ if ($page == 'overview') {
if (isset($_POST['send'])
&& $_POST['send'] == 'send'
) {
// @FIXME use a good path-validating regex here (refs #1231)
$path = validate($_POST['path'], 'path');
$password = validate($_POST['ftp_password'], 'password');
$password = validatePassword($password);
@@ -241,6 +242,7 @@ if ($page == 'overview') {
if (isset($_POST['send'])
&& $_POST['send'] == 'send'
) {
// @FIXME use a good path-validating regex here (refs #1231)
$path = validate($_POST['path'], 'path');
$_setnewpass = false;