Reset password becomes clickable when contains @ letter

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/11/2011 10:30:41 AM
Gravatar
Total Posts 63

Reset password becomes clickable when contains @ letter

If the system generated new password contains "@", then it becomes clickable in the email sent to the user.

Here is an email I got:

A request was just submitted to send your [company name] password for the User someuser@live.com
Your password has been reset to QajY!YHQ.m=@#w
You may change it after signing in.

Regards,

 

4/11/2011 10:53:05 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Reset password becomes clickable when contains @ letter

That's just the email client's interpretation of the string, assuming that anything with "@" in it is an email address and helpfully turning it into a link for you.

4/11/2011 11:06:32 AM
Gravatar
Total Posts 18439

Re: Reset password becomes clickable when contains @ letter

I agree with Jamie, we send a plain text email but some email clients may interpret things trying to be helpful and in doing so they may be unhelpful sometimes.

But, reviewing the code, it seems that when generating new passwords it should be constrained to the characters in this web.config setting.

<add key="PasswordGeneratorChars" value="abcdefgijkmnopqrstwxyzABCDEFGHJKLMNPQRSTWXYZ23456789*$"/>

so I'm not sure how the @ symbol got in there unless you have changed that setting or are using an older version of mojoPortal.

Best,

Joe

4/11/2011 11:18:03 AM
Gravatar
Total Posts 63

Re: Reset password becomes clickable when contains @ letter

Hi Joe,

I didn't change the PasswordGeneratorChars in web.config. I am using 2.3.6.2, one version older than the latest. Does 2.3.6.4 change the way generating password?

Regads,

4/11/2011 11:32:50 AM
Gravatar
Total Posts 18439

Re: Reset password becomes clickable when contains @ letter

No, it has not changed in a long time as far as I know.

I just found where I think it is causing the problem, there is one place in the code where it is not using my custom password generator but the built in password generator of the MembershipProvider base class. I will fix this for the next release.

Best,

Joe

 

You must sign in to post in the forums. This thread is closed to new posts.