Jack Christensen
2005-Sep-26 17:55 UTC
ActionMailer unit testing converts underscores to spaces
The actual email is generated fine, but when I try to unit test I find that underscores have been converted to spaces. Any ideas on how to stop this? Thanks. -- Jack Christensen jackc-/SOt/BrQZzOj3I+7jmQ39gC/G2K4zDHf@public.gmane.org
Jamis Buck
2005-Sep-26 18:24 UTC
Re: ActionMailer unit testing converts underscores to spaces
On Sep 26, 2005, at 11:55 AM, Jack Christensen wrote:> The actual email is generated fine, but when I try to unit test I > find that underscores have been converted to spaces. Any ideas on > how to stop this?This should be fixed in the latest beta gems. The problem was that when encoding headers using quoted printable format, spaces need to be converted to and from underscores (according to the spec), but ActionMailer was encoding and decoding the body the same way. Anyway, this was fixed in changeset 2089, on Sep 1. - Jamis