Till Brehm
2013-11-25 1272df7f9c98dd6ac4399616ba9e98f037365dd8
- Allow underscore at the beginning of email user login names
- Add config to clear php handler in apps vhost.
2 files modified
6 ■■■■ changed files
install/tpl/apache_apps.vhost.master 4 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_user.tform.php 2 ●●● patch | view | raw | blame | history
install/tpl/apache_apps.vhost.master
@@ -11,6 +11,10 @@
  ServerAdmin webmaster@localhost
  {apps_vhost_servername}
  
  <FilesMatch "\.ph(p3?|tml)$">
    SetHandler None
  </FilesMatch>
  <IfModule mod_php5.c>
    DocumentRoot {apps_vhost_dir}
    AddType application/x-httpd-php .php
interface/web/mail/form/mail_user.tform.php
@@ -107,7 +107,7 @@
                0 => array (  'type'  => 'UNIQUE',
                    'errmsg'=> 'login_error_unique'),
                1 => array (  'type'  => 'REGEX',
                    'regex' => '/^[a-z0-9][\w\.\-_\+@]{1,63}$/',
                    'regex' => '/^[_a-z0-9][\w\.\-_\+@]{1,63}$/',
                    'errmsg'=> 'login_error_regex'),
            ),
            'default' => '',