This project is archived and is in readonly mode.
extra space in subject with tmail
Reported by luis.lopez (at branelabs) | March 26th, 2009 @ 06:07 PM | in 3.x
if the subject of a mail is something like: Subject: =?iso-8859-1?Q?V=E0ries_cos?= =?iso-8859-1?Q?es?=
An extra space is inserted between "cos" and "es" so we have "cos es" instead of "coses". It is wrong as we can see in http://www.faqs.org/rfcs/rfc2047... (just look at the sample that says "White space between adjacent 'encoded-word's is not displayed.")
The problem is in quote.rb (in actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb).
I just changed a couple of lines and it seems to work. This is the diff:
62a63
from_charset = nil 64c65
< before = $1
before = (from_charset && $2 && $1.strip=="") ? "" : $1
Comments and changes to this ticket
-
luis.lopez (at branelabs) March 26th, 2009 @ 06:10 PM
- Tag set to 2.2.2, actionmailer
seem that there are some formatting problems so I attach diff file
-
Łukasz Strzałkowski July 13th, 2010 @ 02:09 PM
- Importance changed from to
I think it's outdated as now action mailer uses "mail" gem.
-
Mike Riley July 29th, 2010 @ 09:03 PM
- State changed from new to stale
Hello,
Łukasz mentioned that this may be outdated due to the fact that actionmailer now uses the "mail" gem. Is this issue still valid? I am marking this as stale for now.
Mike Riley
-
luis.lopez (at branelabs) September 30th, 2010 @ 10:01 AM
- Tag cleared.
It works with rails3.0 so I guess this ticket can be closed.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>