You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an admin generates a "random" password for a user, it may contain the "&" or any other "special html entity".
This is then rewritten as HTML entity by the parser that composes the email to the user: &
For example, the generated password would be: secureword&123
Then in the mail to the user appears: secureword&123
When the user then enters the password, it will of course not match.
This is a heavy bug I think.
Steps to reproduce:
Goto Administration -> Users
Select an user
Edit the user
Enable "Set random password and send by email"
Save
Expected behavior:
The password is sent without rewrite.
Actual behavior:
The password may contain html special entities.
Server Setup Information:
Version of Rocket.Chat Server: 3.13.1
Operating System: Linux
Deployment Method: unknown
Number of Running Instances: 1
DB Replicaset Oplog: enabled
NodeJS Version: 12.18.4
MongoDB Version: 4.0.23 / mmapv1
Client Setup Information
Browser or any desktop app
Operating System: any
The text was updated successfully, but these errors were encountered:
Description:
When an admin generates a "random" password for a user, it may contain the "&" or any other "special html entity".
This is then rewritten as HTML entity by the parser that composes the email to the user: &
For example, the generated password would be:
secureword&123
Then in the mail to the user appears:
secureword&123
When the user then enters the password, it will of course not match.
This is a heavy bug I think.
Steps to reproduce:
Expected behavior:
The password is sent without rewrite.
Actual behavior:
The password may contain html special entities.
Server Setup Information:
Client Setup Information
The text was updated successfully, but these errors were encountered: