error when search in body message for non-latin charset (koi8-r)

NEW
Unassigned

Status

MailNews Core
Networking: IMAP
16 years ago
9 years ago

People

(Reporter: Dmitry P., Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2b) Gecko/20021022
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2b) Gecko/20021022

mozilla-mail return "...Bogus criteria list in UID SEARCH" when try find
non-latin  keywords in body mail in imap folder 

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Updated

16 years ago
QA Contact: huang → gchan

Comment 1

15 years ago
Mozilla doesn't follow the IMAP syntax. More precisely, it sends 
quoted chars that contain characters outside the range 0x01 - 0x7f,
forcing the IMAP servers to return a parsing error. See the syntax below:

QUOTED_CHAR     ::= <any TEXT_CHAR except quoted_specials> / "\" quoted_specials
TEXT_CHAR       ::= <any CHAR except CR and LF>
CHAR            ::= <any 7-bit US-ASCII character except NUL, 0x01 - 0x7f>

A fix to this bug;
Send literals instead. That is, command 

Mozilla: 1 search text "bogus char follows: '0x80'"CRLF
Server: 1 BAD bogus attribute...

should become:

1 search text {21}CRLF
Server: +CRLF
Mozilla: bogus char follows: '0x80'CRLF

 



Product: MailNews → Core

Updated

10 years ago
Assignee: mscott → nobody

Comment 2

10 years ago
reporter's email address is dead
OS: Linux → All
QA Contact: grylchan → networking.imap
Hardware: PC → All
(Assignee)

Updated

9 years ago
Product: Core → MailNews Core

Updated

9 years ago
Blocks: 519202
You need to log in before you can comment on or make changes to this bug.