Open Bug 176694 Opened 22 years ago Updated 2 years ago

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

Categories

(MailNews Core :: Networking: IMAP, defect)

defect

Tracking

(Not tracked)

People

(Reporter: dv, Unassigned)

References

(Blocks 1 open bug)

Details

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.
QA Contact: huang → gchan
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
Assignee: mscott → nobody
reporter's email address is dead
OS: Linux → All
QA Contact: grylchan → networking.imap
Hardware: PC → All
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.