Someone might want to strip spaces from in front and behind domains when entering users so idiots like me dont spend hours trying to figure out why some domains work and others dont. I wasn't careful with my copy and paste and kept getting errors.
Using RC2. Disregard if that is fixed. About to upgrade now.
a reseller should take care about things like this.
please test this in rc3 or the nightly build.
I just tested it with my logins on different sites. Most of them strip the spaces. Squirrel, Web-FTP and PMA also do it. But ispCP doesn't. So I think it should be implemented.
Ok, I can do this.
Most of the inputs are checked by a function and also are trimmed there - I'll check why this is not the case with the domain name.
I just added a trim() on login and the lost password. (Will be in my next commit.) Do not abuse check_input(). There are Inputs where whitespaces are wanted. However, you can modify rau3.php and some of the client input files, if you want to.