[
https://issues.apache.org/jira/browse/DIRAPI-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155143#comment-13155143
]
Pierre-Arnaud Marcelot commented on DIRAPI-64:
----------------------------------------------
@Sébastien: Why not ? ;) It makes sense on both examples to me.
@Alex: I agree with you, Alex, in the sense that adding a starting and closing
parenthesis isn't something very complicated.
But, since we're releasing this API to facilitate the work with LDAP server, I
really think it makes sense that in a few parts we can make things a little
easier for the casual user, the one who does not follow strict RFCs (or has
been corrupted in his mind by other vendors who authorized this in their
servers...).
> Relax LDAP filtering checks to allow trivial filters without parenthesis
> ------------------------------------------------------------------------
>
> Key: DIRAPI-64
> URL: https://issues.apache.org/jira/browse/DIRAPI-64
> Project: Directory Client API
> Issue Type: New Feature
> Affects Versions: 1.0.0-M8
> Reporter: Sebastien Bahloul
> Priority: Minor
> Fix For: 1.0.0-M9
>
>
> When using a filter in either a simple search or a LDAP URL, the filter is
> check against a strict format which requires starting and ending with
> parenthesis.
> I suggest to relax the LDAP filtering syntax to accept also search filters
> without any parenthesis like cn=Pierre or mail=*
> Thanks,
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira