LDAP searches with UTF-8 are generating non-RFC conformant filter queries

UNCONFIRMED
Unassigned

Status

MailNews Core
LDAP Integration
UNCONFIRMED
6 years ago
3 years ago

People

(Reporter: Alfie John, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
User Agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.6.5; U; en) Presto/2.10.229 Version/11.60

Steps to reproduce:

Searched for "周光" in the "To:" field when composing an email.


Actual results:

The generated LDAP filter query I got was:

  (|(cn=\E5\91\A8\E5\85\89*)(mail=\E5\91\A8\E5\85\89*)(sn=\E5\91\A8\E5\85\89*))


Expected results:

Since the mail attribute is of type "IA5 String", "周光" falls outside this scope.

The "mail" attribute should be removed from the query string if the search term is outside the "IA5 String" character set.
Component: Message Compose Window → LDAP Integration
Product: Thunderbird → MailNews Core
QA Contact: message-compose → ldap-integration
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
You need to log in before you can comment on or make changes to this bug.