Issue 7072 - caseIgnoreMatch equals regular capital I with dotted capital I
Summary: caseIgnoreMatch equals regular capital I with dotted capital I
Status: VERIFIED SUSPENDED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.26
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 13:39 UTC by frank.meisschaert@ugent.be
Modified: 2021-08-03 17:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description frank.meisschaert@ugent.be 2011-10-27 13:39:25 UTC
Full_Name: Frank Meisschaert
Version: 2.4.26
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (157.193.44.200)


When I try to add the names "İsmail" (original, with dotted capital I) and
"Ismail" (transcribed, regular capital I) to an entry using ldapmodify:

dn: ...
changetype: modify
replace: givenName
givenName: Ismail
givenName:: xLBzbWFpbA==
-

I get the error:

ldap_modify: Type or value exists (20)
	additional info: givenName: value #0 provided more than once

The lowercase version of dotted and regular capital I is regular i which
explains this error. However according to unicode case folding the dotted
capital I should be mapped to 0069 0307 (i, combining dot above) which would
make Ismail and İsmail different when compared case-insensitively as I
would expect.

Comment 1 Howard Chu 2011-10-31 07:23:59 UTC
Frank.Meisschaert@UGent.be wrote:
> Full_Name: Frank Meisschaert
> Version: 2.4.26
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (157.193.44.200)
>
>
> When I try to add the names "İsmail" (original, with dotted capital I) and
> "Ismail" (transcribed, regular capital I) to an entry using ldapmodify:
>
> dn: ...
> changetype: modify
> replace: givenName
> givenName: Ismail
> givenName:: xLBzbWFpbA==
> -
>
> I get the error:
>
> ldap_modify: Type or value exists (20)
> 	additional info: givenName: value #0 provided more than once
>
> The lowercase version of dotted and regular capital I is regular i which
> explains this error. However according to unicode case folding the dotted
> capital I should be mapped to 0069 0307 (i, combining dot above) which would
> make Ismail andİsmail different when compared case-insensitively as I
> would expect.

Apparently our liblunicode implementation doesn't use the CaseFolding data. I 
believe that means our implementation corresponds to the "Simple" case folding 
rules. They're valid, just not doing what you want in this case. So it appears 
that this is an enhancement request.

I don't believe this request warrants a very high priority. Looking at the 
Unicode charts, I-with-dot-above is the only character where the two case 
folding alternatives actually makes a difference.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2011-11-01 19:51:17 UTC
changed state Open to Suspended
Comment 3 Quanah Gibson-Mount 2017-04-12 20:52:54 UTC
moved from Incoming to Software Enhancements