allow more characters in NIS aliases
This commit is contained in:
parent
57583a7896
commit
b3a2f33377
|
@ -544,7 +544,7 @@ function get_preg($argument, $regexp) {
|
|||
$pregexpr = '/^[0-9a-zA-Z_-]+(\\.[0-9a-zA-Z_-]+)*$/';
|
||||
break;
|
||||
case 'nis_alias':
|
||||
$pregexpr = '/^([[:alnum:]])+$/u';
|
||||
$pregexpr = '/^([[:alnum:]@\\.\\ \\_-])+$/u';
|
||||
break;
|
||||
case 'nis_recipient':
|
||||
$pregexpr = '/^([[:alnum:]@\\.\\ \\_-])+$/u';
|
||||
|
|
Loading…
Reference in New Issue