Skip to content

Commit 1272df7

Browse files
author
Till Brehm
committed
- Allow underscore at the beginning of email user login names
- Add config to clear php handler in apps vhost.
1 parent 0564653 commit 1272df7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

install/tpl/apache_apps.vhost.master

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
ServerAdmin webmaster@localhost
1212
{apps_vhost_servername}
1313

14+
<FilesMatch "\.ph(p3?|tml)$">
15+
SetHandler None
16+
</FilesMatch>
17+
1418
<IfModule mod_php5.c>
1519
DocumentRoot {apps_vhost_dir}
1620
AddType application/x-httpd-php .php

interface/web/mail/form/mail_user.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
0 => array ( 'type' => 'UNIQUE',
108108
'errmsg'=> 'login_error_unique'),
109109
1 => array ( 'type' => 'REGEX',
110-
'regex' => '/^[a-z0-9][\w\.\-_\+@]{1,63}$/',
110+
'regex' => '/^[_a-z0-9][\w\.\-_\+@]{1,63}$/',
111111
'errmsg'=> 'login_error_regex'),
112112
),
113113
'default' => '',

0 commit comments

Comments
 (0)