Page 1 of 1

Problem adding / edit users

Posted: Sun Jul 05, 2009 1:40 pm
by kugelz
Hi there,

today I upgraded from 1.5.4 to 1.6 and tried to change the password of an existing user. I got the error message that the e-mail would not be valid. Thats somehow strange because i did not touched the e-mail field. I tried to figure out where the problem is:

The address has an - in die domain (abc@de-f.org). But when I manually called the is_email function (misc_functions.php) with the e-mail that is no problem, so I edited the admin/edituser.php to disable the check whether mail is valid or not and of cause i did not get the error again, but: I watched in the mysql table cms_users and saw that he replaced the - with -

So it is clear that the is_email funtion returns false for some email containing - - but what to do?

Maybe someone could verify that there is a problem adding users with an "-" in the domain in 1.6 to be sure that not my installation is the problem - with 1.5.4 adding users with "-" in mail was no problem, so i am wondering ...

So maybe I have some encoding problem ..

(hope this is the correct board)

greetings,
kugel

Re: Problem adding / edit users

Posted: Mon Jul 06, 2009 7:09 am
by alby
kugelz wrote: Maybe someone could verify that there is a problem adding users with an "-" in the domain in 1.6 to be sure that not my installation is the problem - with 1.5.4 adding users with "-" in mail was no problem, so i am wondering ...
yes, is a known problem in 1.6 and will be resolved in imminent 1.6.1 release

Alby