2
Try with change of
switch ($xoopsConfigUser['uname_test_level']) {
case 0:
// strict
$restriction = '/[^a-zA-Z0-9_-]/';
break;
case 1:
// medium
$restriction = '/[^a-zA-Z0-9_-<>,.$%#@!\'"]/';
break;
case 2:
// loose
$restriction = '/[ 00- 40]/';
break;
}
in /class/userutility.php to
switch ($xoopsConfigUser['uname_test_level']) {
case 0:
// strict
$restriction = '/[^a-zA-Z0-9 _-]/';
break;
case 1:
// medium
$restriction = '/[^a-zA-Z0-9 _-<>,.$%#@!\'"]/';
break;
case 2:
// loose
$restriction = '/[ 00- 31 33- 40]/';
break;
}
.
Edit: Are there some blocks in the code window or is it me?
Anyway the modifs are: add a space after 0-9 (two occurences) and modify the third restriction to \000-\031\033-\040