Problem adding / edit users

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
kugelz

Problem adding / edit users

Post 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
alby

Re: Problem adding / edit users

Post 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
Post Reply

Return to “Developers Discussion”