Skip to content

Commit 4cffaf9

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
Stable 3.1 See merge request ispconfig/ispconfig3!670
2 parents 9f7ff78 + 23a3c39 commit 4cffaf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
if($do_backup == 'yes') {
191191

192192
//* Create the backup directory
193-
$backup_path = '/var/backup/ispconfig_'.@date('Y-m-d_H-i');
193+
$backup_path = '/var/backup/ispconfig_'.$conf['hostname'].'_'.@date('Y-m-d_H-i');
194194
$conf['backup_path'] = $backup_path;
195195
exec("mkdir -p $backup_path");
196196
exec("chown root:root $backup_path");

interface/web/dns/form/dns_txt.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
'type' => 'TOLOWER')
8787
),
8888
'validators' => array ( 0 => array ( 'type' => 'REGEX',
89-
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
89+
'regex' => '/^(\*\.|[a-zA-Z0-9\.\-\_]){0,255}$/',
9090
'errmsg'=> 'name_error_regex'),
9191
),
9292
'default' => '',

0 commit comments

Comments
 (0)