Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor issue - unneeded escape character shows up in Change Password email. #11514

Open
2 tasks done
thrashcardiom opened this issue Dec 16, 2024 · 0 comments
Open
2 tasks done

Comments

@thrashcardiom
Copy link

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' %></a

Possible 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant