This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Much similar to to the issue https://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=1793~1 we have a user with the email format of aaaaaa-@domain.com. Now why someone would have a dash at the end of their name is a mystery but does not pass the current validation.
We will look at updating RegexValidationExpression on the Validator in ManageUsers.aspx and in Register.aspx to something appropriate once I've got my head around the correct syntax, thinking something like the following may work
Currently Register.aspx and ManageUsers.aspx are out of step. Manage users seemed to work so have replicated this in Register.aspx but does not work with this aaaa- email address.
Register.aspx
^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*[0-9a-zA-Z])*\.)+[a-zA-Z]{2,9})$
ManageUsers.aspx
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
Any suggestions?
I'm a little confused. Are you saying it does work correctly in ManageUsers.aspx or not?
Thanks,
Joe