-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Special characters in store name converted to numerical character references in email subject #8094
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
Comments
@mattcoz thank you for your feedback. |
Steps to reproduce:
Expected result: Subject should be "Reset your Bob's Burgers password" Actual result: Subject is "Reset your Bob's Burgers password" |
@mattcoz thank you for update. |
@veloraven Is there a way to track this ticket ? |
Im not sure if you want me to raise another issue, but this happens all the way through the emails. So If a customer submits via contact form the same thing happens - apostrophe is converted like the example above. |
I can confirm that this issue appears in other email as well. For example, when you share a wishlist via email, the subject according to this line and then in your inbox it is also shown with this weird |
In particular case of the wishlist, the issues seems to be coming out of this little quirk which doesn't seem to care whether the directive is invoked inside subject or body of the email. To anyone struggling, this is quite an easy workaround: in a given template just add that |
Probably related #6597 and MAGETWO-58663 which is referenced in that issue. |
@korostii Thanks for the workaround, unfortunately it's a pain to have to override every single email template file to fix this. Instead I created a simple plugin to reverse the encoding.
|
Quick fix is in
In Template.php
|
Fixed issues: - MAGETWO-63054 [Catalog] MSRP field is not displayed for bundle products with fixed price - MAGETWO-63154 Special characters in store name converted to numerical character references in email subject #8094 - MAGETWO-60692 [Github]Bundle product order - create invoice via REST API #6988 - MAGETWO-60514 The exchange rate in order is duplicated - MAGETWO-64967 Export locks admin panel - MAGETWO-67529 [Catalog] Configurable product visible on frontend when all child products are disabled - MAGETWO-67574 [Catalog] Denied category is visible on SF - MAGETWO-60628 [GITHUB] Refund report does not show right date #5317 - MAGETWO-69111 Customer custom address attributes lost after changing contact information and password - MAGETWO-67745 The "Catalog Search indexer process unknown error" appears after reindex - MAGETWO-64885 Wrong cookies set for store views with multidomain
This issue was fixed in develop branch. |
Hi @veloraven, having a fix on develop isn't the same as resolving the issue. Are there any plans to backport this issue on Magento side? |
This didn't work for me but this did:
|
In what develop branch is this fixed then? Because it still persists in 2.1.8. |
@magento-engcom-team The issue is still present, please reopen (see the comment above). |
@korostii this issue was fixed in 2.2.0. You can find related commits there: @magento-engcom-team looks like it wasn't fixed in 2.1.x |
This issue is still in in 2.2.4 Preconditions
Steps to reproduce
Expected result
Actual result
Also the System does not retrieve the subject line when opening the email template. |
Hi @kemexyz , |
Hey @ihor-sviziev , sure, not quite sure if got 2 issues mixed up here ... sorry! |
Where i can put the code can you help i am new in magento |
If your store name has a special character in it, such as an apostrophe, it will be converted to a numerical character reference in any email subject. For example:
Store name: Bob's Burgers
Reset password email subject: Reset your Bob's Burgers password
I've tried sending the email directly with php and with Zend_Mail without issues, so it must be somewhere in Magento's email template handling.
The text was updated successfully, but these errors were encountered: