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

Already on GitHub? Sign in to your account

Email text encoding issue upon upgrading to 3.2.8 #7318

Closed
allesklar opened this Issue Aug 10, 2012 · 7 comments

Comments

Projects
None yet
3 participants

If I send an email with Rails 3.2.7 this sample text will come out okay:

This isn't the only thing that doesn't work.

However after upgrading to 3.2.8, the email comes out like this:

This isn't the only thing that doesn't work.

Well, the text encoding of the second string was fixed in this context but in an email every apostrophe comes out as:

& # x 2 7 ;

without the spaces of course.

Owner

rafaelfranca commented Aug 10, 2012

Related with #6943 and b6ab441

Thank you Rafael but I'm a bit confused now and I have a couple questions.

Is this bug fixed or was this implemented on purpose?

Should I modify my text email templates or should I wait for the next Rails release?

Owner

rafaelfranca commented Aug 12, 2012

It was implemented on purpose for HTML escaping but it should not affect text emails.

As workaround you can modify your text email templates, but we will try to fix in the next release.

Thanks Rafael.

Member

senny commented Oct 28, 2012

the referenced PR was closed. The discussion continues here: #7976

Owner

rafaelfranca commented Nov 16, 2012

Closed by #8235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment