Body contains search fails to find messages with "charset=ISO8859_1" encoding (Latin-1)

NEW
Unassigned

Status

SeaMonkey
MailNews: Message Display
--
minor
14 years ago
9 years ago

People

(Reporter: Stephen Fitch, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8a2) Gecko/20040715
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8a2) Gecko/20040715

Problem Statement:

* Body contains search fails to find messages 
    with "charset=ISO8859_1" encoding (Latin-1).

* Impact:

  - Email sent "charset=ISO8859_1" with encodings set are excluded
    from "Body" contains searches leading to erroneous results.

* Reproduces on Solaris and Linux - I haven't (yet) tried Windows or Thunderbird

  FAILS: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616
  FAILS: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8a2) Gecko/20040715

Reproducible: Always
Steps to Reproduce:

Problem Reproduction:

* Using a "Local Mail Folder"

* Place files (1) & (2) in the "Local Mail Folder"

* Start Mozilla

* Goto Tools->Search Messages

* Set "Search for messages in:" to "1-TA on Local Folders"

* Set search constraint [1] to "Body"

* Set search constraint [2] to "contains"

* Set search constraint [3] to "TEXT"

* Press "Search" button to execute

* RESULT: Search _SUCCEEDS_  - "1 match found"

* Repeating - This time... with....

* Set "Search for messages in:" to "2-TA on Local Folders"

* Set search constraint [1] to "Body"

* Set search constraint [2] to "contains"

* Set search constraint [3] to "TEXT"

* Press "Search" button to execute

* RESULT: Search _FAILS_ to find the same "TEXT" string.

Actual Results:  
* Search on 1-TA RESULT: Search _SUCCEEDS_  - "1 match found"

* Search on 2-TA RESULT: Search _FAILS_ to find the same "TEXT" string.

Expected Results:  
"TEXT" found in messages and reported via search-Body-contains...

* FILE "1-TA" needs to contain:

1-TA
From - Mon/Jul 19 13:44:14 2004
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-path: <noaccess@xxxxxxx2.bay.xun.com>
Received: from conversion-daemon.xxxxxxx.bay.xun.com by
 xxxxxxx.bay.xun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0I14004019EJ9E@xxxxxxx.bay.xun.com>
 (original mail from noaccess@xxxxxxx2.bay.xun.com); Mon,
 19 Jul 2004 13:41:42 -0700 (PDT)
Received: from xxxxxx.bay.xun.com
 (xxxxxx.SFBay.xun.COM [123.145.155.42]) by xxxxxxx.bay.xun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 with ESMTP id <0I14000HA9HI05@xxxxxxx.bay.xun.com>; Mon,
 19 Jul 2004 13:41:42 -0700 (PDT)
Received: from xxxxxxx2.bay.xun.com
 (xxxxxxx2.SFBay.xun.COM [123.149.246.180])     by xxxxxx.bay.xun.com
 (8.12.10+xun/8.12.10/ENSMAIL,v2.2) with ESMTP id i6JKffWG007433; Mon,
 19 Jul 2004 13:41:41 -0700 (PDT)
Received: (from noaccess@localhost)     by xxxxxxx2.bay.xun.com
 (8.11.7p1+xun/8.11.7/ENSMAIL,v2.2)
 id i6JKfdX24525        for xxxxxx-not-2b-used-directly; Mon,
 19 Jul 2004 13:41:39 -0700 (PDT)
Received: from xxxxxxx.pore.xun.COM
 (xxxxxxx.pore.xun.COM [123.1.71.3])    by xxxxxxx2.bay.xun.com
 (8.11.7p1+xun/8.11.7/ENSMAIL,v2.2) with ESMTP id i6JKfZV24467  for
 <xxxxxx@xun.com>; Mon, 19 Jul 2004 13:41:36 -0700 (PDT)
Received: from xxxxxx.pore.xun.COM (xxxx@xxxxxx [123.1.124.107])
        by xxxxxxx.pore.xun.COM (8.12.10+xun/8.12.9/ENSMAIL,v2.2)
 with ESMTP id i6JKfYUP011631   for <xxxxxx@xun.com>; Tue,
 20 Jul 2004 04:41:34 +0800 (SGT)
Received: from xxxxxx (localhost [127.0.0.1])
        by xxxxxx.pore.xun.COM (8.11.7p1+xun/8.11.6)
 with ESMTP id i6JKfW401579     for <xxxxxx@xun.com>; Tue,
 20 Jul 2004 04:41:32 +0800 (SGT)
Date: Tue, 20 Jul 2004 04:41:32 +0800 (SGT)
From: xxxxxxx@xxxxxx.pore.xun.com
Subject: Request
To: xxxxxx@xun.com
Message-id: <14251565.1090269692707.JavaMail.webesc@xxxxxx>
MIME-version: 1.0
X-Mailer: Notification
Content-type: text/plain
Content-transfer-encoding: 7BIT

SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE

* FILE "2-TA" needs to contain:
From - Mon/Jul 19 13:44:14 2004
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-path: <noaccess@xxxxxxx2.bay.xun.com>
Received: from conversion-daemon.xxxxxxx.bay.xun.com by
 xxxxxxx.bay.xun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0I14004019EJ9E@xxxxxxx.bay.xun.com>
 (original mail from noaccess@xxxxxxx2.bay.xun.com); Mon,
 19 Jul 2004 13:41:42 -0700 (PDT)
Received: from xxxxxx.bay.xun.com
 (xxxxxx.SFBay.xun.COM [123.145.155.42]) by xxxxxxx.bay.xun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 with ESMTP id <0I14000HA9HI05@xxxxxxx.bay.xun.com>; Mon,
 19 Jul 2004 13:41:42 -0700 (PDT)
Received: from xxxxxxx2.bay.xun.com
 (xxxxxxx2.SFBay.xun.COM [123.149.246.180])     by xxxxxx.bay.xun.com
 (8.12.10+xun/8.12.10/ENSMAIL,v2.2) with ESMTP id i6JKffWG007433; Mon,
 19 Jul 2004 13:41:41 -0700 (PDT)
Received: (from noaccess@localhost)     by xxxxxxx2.bay.xun.com
 (8.11.7p1+xun/8.11.7/ENSMAIL,v2.2)
 id i6JKfdX24525        for xxxxxx-not-2b-used-directly; Mon,
 19 Jul 2004 13:41:39 -0700 (PDT)
Received: from xxxxxxx.pore.xun.COM
 (xxxxxxx.pore.xun.COM [123.1.71.3])    by xxxxxxx2.bay.xun.com
 (8.11.7p1+xun/8.11.7/ENSMAIL,v2.2) with ESMTP id i6JKfZV24467  for
 <xxxxxx@xun.com>; Mon, 19 Jul 2004 13:41:36 -0700 (PDT)
Received: from xxxxxx.pore.xun.COM (xxxx@xxxxxx [123.1.124.107])
        by xxxxxxx.pore.xun.COM (8.12.10+xun/8.12.9/ENSMAIL,v2.2)
 with ESMTP id i6JKfYUP011631   for <xxxxxx@xun.com>; Tue,
 20 Jul 2004 04:41:34 +0800 (SGT)
Received: from xxxxxx (localhost [127.0.0.1])
        by xxxxxx.pore.xun.COM (8.11.7p1+xun/8.11.6)
 with ESMTP id i6JKfW401579     for <xxxxxx@xun.com>; Tue,
 20 Jul 2004 04:41:32 +0800 (SGT)
Date: Tue, 20 Jul 2004 04:41:32 +0800 (SGT)
From: xxxxxxx@xxxxxx.pore.xun.com
Subject: Request
To: xxxxxx@xun.com
Message-id: <14251565.1090269692707.JavaMail.webesc@xxxxxx>
MIME-version: 1.0
X-Mailer: Notification
Content-type: text/plain; charset=ISO8859_1
Content-transfer-encoding: 7BIT

SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
SEARCH THIS TEXT PLEASE
(Reporter)

Comment 1

14 years ago
Created attachment 154004 [details]
Used in the test case
(Reporter)

Comment 2

14 years ago
Created attachment 154005 [details]
Used in the test case
(Reporter)

Comment 3

14 years ago
I've added the two email files used in the text case as attachments - There
seems to be some formating issues down below in the Description section...

Comment 4

14 years ago
Reproduced with
  Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
  Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a3) Gecko/20040714

"ISO8859_1" is an illegal charset specification; it should read "ISO-8859-1".
As noted in bug 251634, illegal charset specs are problematic.

CC'ing Jungshik.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: SunOS → All
Hardware: Sun → All
(Reporter)

Comment 5

14 years ago
Switching to "charset=ISO-88591-1" allows the search to find the TEXT.
Product: Browser → Seamonkey

Updated

13 years ago
Assignee: sspitzer → mail

Comment 6

13 years ago
Not many mail messages these days have illegal charset labels. I'm downgrading
the severity while taking it. 
Assignee: mail → jshin1987
Severity: normal → minor

Updated

10 years ago
Component: MailNews: Search → MailNews: Message Display
QA Contact: search

Updated

10 years ago
Assignee: jshin1987 → nobody
QA Contact: search → message-display
You need to log in before you can comment on or make changes to this bug.