[Date Prev][Date Next]
substring match vs. insignificant space removal
- To: OpenLDAP-software@OpenLDAP.org
- Subject: substring match vs. insignificant space removal
- From: Donn Cave <email@example.com>
- Date: Thu, 23 Mar 2006 11:01:52 -0800
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com> <18.104.22.168.0.20060217072352.022972d0@OpenLDAP.org> <firstname.lastname@example.org>
Working on a white pages search application, I ran into
a problem with substring searches: if you search, for
example, for 'cn=jo* b* lo*', you would (naively) be
surprised to get, for example, 'Joe Blow' or 'Joby Lowe'
as a result - the spaces before 'b' and 'l' were supposed
to filter for separate words starting with those characters.
I'm guessing this goes back to the U Mich implementation.
It isn't inconsistent with the RFCs I could find, though even
recent working drafts don't specifically raise any question
as to whether insignificant space removal should apply in
exactly the same way to parts of a substring match, as to
a regular string match.
Is there any way to work around this? Quoting the internal
spaces doesn't seem to help.
Donn Cave, email@example.com