Closed
Bug 321887
Opened 19 years ago
Closed 18 years ago
Wrong email headers parsing ("Su:" header mistaken for "Subject:" etc)
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1615064
People
(Reporter: intendentedelleacque, Assigned: mscott)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Thunderbird version 1.5 rc2 (20051201)
If you receive or import an email with this code (example):
From - Sun Dec 25 09:56:38 2005
X-Account-Key: account3
X-UIDL: 11564
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <xxxxx@xxxxxx.it>
Received: from aa005msg.fastwebnet.it (192.168.0.42) by ms001msg-mx.fastwebnet.it (7.2.069.1)
id 43A7C4EF000EC2D1 for xxxxxxx@fastwebnet.it; Sun, 25 Dec 2005 09:47:03 +0100
Received: from xxxxxxxxxxx.it (80.241.172.12) by aa005msg.fastwebnet.it (7.2.069.1)
id 43AD55910002291E for xxxxxxxxxx@fastwebnet.it; Sun, 25 Dec 2005 09:47:03 +0100
Received: from xxxxxxxxxx.it (xxxxxxxxxxxx.it [127.0.0.1])
by xxxxxxxxxxxx.it (8.13.1/8.13.1) with ESMTP id jBP8qZUl032456
for <xxxxxxxxxx@fastwebnet.it>; Sun, 25 Dec 2005 09:52:36 +0100
Received: (from apache@localhost)
by xxxxxxxxxxx.it (8.13.1/8.13.1/Submit) id jBP8qZsf032455;
Sun, 25 Dec 2005 09:52:35 +0100
Date: Sun, 25 Dec 2005 09:52:35 +0100
From: realuser@provider.org
Message-Id: <200512250852.jBP8qZsf032455@xxxxxx.it>
To: xxxxxxx@fastwebnet.it
Subject: Real subject
Da: Sun, 31 Dec 2099 09:52:35 +0100
Fr: fakeuser@invalid.com
Sub: This is not the real subject
Mime-Version: 1.0
Content-Type: text/plain
This is a test mail.
you'll see that the headers in thread pane are parsed incorrectly. In fact in subject column you'll have "This is not the real subject" , in date column "31/12/2099 " and in sender column "fakeuser@invalid.com".
It seems that Thunderbird can't distinguish, in parsing headers, the header name and its substring (for ex. Date Dat Da D - Subject Subjec Subje Subj Sub).
Notice that the wrong parsing has effect just in thread pane and in reply headers, but not in forward headers, in msgHeaderView box and in message window.
Reproducible: Always
Steps to Reproduce:
1. receive an email with headers with names that are substrings of other headers
Actual Results:
The headers named, for ex. D Da Dat, are parsed as Date in some components of Thunderbird (thread pane, reply headers). The same for other headers.
Expected Results:
The headers should be parsed based on their entire name.
Reporter | ||
Updated•19 years ago
|
Version: unspecified → 1.5
Comment 1•19 years ago
|
||
Confirmed on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 ID:2005120113 (reproducable on 1.0.x too)
The false headers only show in the message list, in the message pane they are fine.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: PC → All
Summary: Wrong email headers parsing → Wrong email headers parsing ("Su:" header mistaken for "Subject:" etc)
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
Updated•18 years ago
|
Component: General → Mail Window Front End
QA Contact: general → front-end
Updated•4 years ago
|
Attachment #207205 -
Attachment mime type: application/octet-stream → application/text
Updated•4 years ago
|
Attachment #207205 -
Attachment filename: bug321887test → bug321887test.txt
Comment 5•4 years ago
|
||
Not a dupe of bug 310189, which is about multiple headers with same standard header name, whereas here a deviant header name is parsed.
Comment 6•4 years ago
|
||
Bug 1615064 fixes this.
You need to log in
before you can comment on or make changes to this bug.
Description
•