Closed Bug 309744 Opened 19 years ago Closed 19 years ago

incorrect combination of ASCII text and quoted-printable encoded-word in headers

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ladislav, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050919 Firefox/1.0.6
Build Identifier: Mozilla Thunderbird 1.0.2 (Windows/20050317)

RFC 2047 specifies:
    Ordinary ASCII text and 'encoded-word's may appear together in the
    same header field.  However, an 'encoded-word' that appears in a
    header field defined as '*text' MUST be separated from any adjacent
    'encoded-word' or 'text' by 'linear-white-space'.

Thunderbird is not compliant, as is demostrated in the following header I received:

Subject: Semin=?ISO-8859-2?Q?=E1=F8_=F8e=B9itel=F9?= 10. - 12.  10. 2005

(the ASCII text "Semin" is not separated from the following encoded-word)

As a result, my mailer (Evolution) does not decode the header correctly.

Reproducible: Always
I tried to reproduce the behavior but thunderbird (20050923/Windows XP) did not
mix ascii and encoded string in the header. For example, when I sent a test mail
with the original subject ('SeminΓ‘ř_řeΕ‘itelů', correct?), thunderbird generated
encoded string '=?ISO-8859-2?Q?Semin=E1=F8=5F=F8e=B9itel=F9?=' for subject. 

Is there any chance that the header was generated by old version of thunderbird?
I meant 'SeminÑø_øe¹itelù' as original subject.

( My browser encoding was set as iso-8859-1 when I wrote previous comment. Now I
am trying utf-8. :-) )
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10)
Gecko/20050919 Firefox/1.0.6
> Build Identifier: Mozilla Thunderbird 1.0.2 (Windows/20050317)
> 
> RFC 2047 specifies:
>     Ordinary ASCII text and 'encoded-word's may appear together in the
>     same header field.  However, an 'encoded-word' that appears in a
>     header field defined as '*text' MUST be separated from any adjacent
>     'encoded-word' or 'text' by 'linear-white-space'.
> 
> Thunderbird is not compliant, as is demostrated in the following header I
received:
> 
> Subject: Semin=?ISO-8859-2?Q?=E1=F8_=F8e=B9itel=F9?= 10. - 12.  10. 2005
> 
> (the ASCII text "Semin" is not separated from the following encoded-word)
> 
> As a result, my mailer (Evolution) does not decode the header correctly.
> 
> Reproducible: Always

(In reply to comment #1)
> I tried to reproduce the behavior but thunderbird (20050923/Windows XP) did not
> mix ascii and encoded string in the header. For example, when I sent a test mail
> with the original subject ('SeminΓ‘ř_řeΕ‘itelů', correct?),
thunderbird generated
> encoded string '=?ISO-8859-2?Q?Semin=E1=F8=5F=F8e=B9itel=F9?=' for subject. 
> 
> Is there any chance that the header was generated by old version of thunderbird?
> 

Well, yes, from the mail header I could see it was 1.0.2. I will probably
install the most recent version of Thunderbird and try to reproduce the bug myself.
It looks like this bug happen only on Windows platform. I just tested it with

User-Agent: Debian Thunderbird 1.0.2 (X11/20050602)

which encodes into Q-P entire words so that they are separated from surrounding
ASCII text by spaces as required in RFC 2047.
It seems the problem was caused by a commercial mailing list program - LISTSERV,
which mangles correct subjects into this. Sorry for the confusion. 
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.