directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-64) Relax LDAP filtering checks to allow trivial filters without parenthesis
Date Tue, 22 Nov 2011 16:06:40 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155223#comment-13155223
] 

Emmanuel Lecharny commented on DIRAPI-64:
-----------------------------------------

Seems like there is a bug in JNDI which has been fixed since then :
http://bugs.sun.com/view_bug.do?bug_id=6916202

Filters like &(objectClass=*)(uid=*) was accepetd, and shuld not been accepted anymore
in JNDI.

This make me think that allowing a filter without enclosing parentheses is not necessarily
a good idea.

Too bad for those who have used such bad data structure ... :)
                
> 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

        

Mime
View raw message