-
Notifications
You must be signed in to change notification settings - Fork 820
Closed
Description
Module version(s) affected
5.2.0
Description
Template file silverstripe-framework/templates/Control/Email/ChangePasswordEmail.ss has an unneeded escape character in line 5:
...If you didn\'t change your password...
The escape character \ shows up in the recipient's received email.
How to reproduce
<p><%t SilverStripe\\Control\\ChangePasswordEmail_ss.HELLO 'Hi' %> $FirstName,</p>
<p>
<%t SilverStripe\\Control\\ChangePasswordEmail_ss.CHANGEPASSWORDTEXT1 'You changed your password for' is 'for a url' %> $AbsoluteBaseURL.<br />
<%t SilverStripe\\Control\\ChangePasswordEmail_ss.CHANGEPASSWORDFOREMAIL 'The password for account with email address {email} has been changed. **If you didn\'t change your password** please change your password using the link below' email=$Email %><br />
<a href="Security/changepassword"><%t SilverStripe\\Control\\ChangePasswordEmail_ss.CHANGEPASSWORDTEXT3 'Change password' %></aPossible Solution
No response
Additional Context
No response
Validations
- Check that there isn't already an issue that reports the same bug
- Double check that your reproduction steps work in a fresh installation of
silverstripe/installer(with any code examples you've provided)