allow more characters in NIS aliases

This commit is contained in:
Roland Gruber 2007-03-05 16:42:58 +00:00
parent 57583a7896
commit b3a2f33377
1 changed files with 1 additions and 1 deletions

View File

@ -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';