* Fix a small typo in the userinfo mysql schema. Found by Evert Meulie
* Fix bug #136, bugs found by Pawel Foremski
* Small type in login_time_create, close bug #141
+* In config.php3 remove whitespaces from $login. Don't remove '-'
Ver 1.72:
* Move the xlat function to a separate file in lib/xlat.php3
* Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works)
}
//Make sure we are only passed allowed strings in username
if ($login != '')
- $login = preg_replace("/[^\w\s\.\/\@\:]/",'',$login);
+ $login = preg_replace("/[^\w\.\/\@\:\-]/",'',$login);
if ($login != '' && $config[general_strip_realms] == 'yes'){
$realm_del = ($config[general_realm_delimiter] != '') ? $config[general_realm_delimiter] : '@';