directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-1385) Filter expression 'abc\' sended from Outlook parsed as null.
Date Wed, 22 Jul 2009 12:03:14 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRSERVER-1385.
------------------------------------------

    Resolution: Fixed

Definitively a bug in Outlook. RFC 4515 states that the filter grammar does not allow a \
in a filter :

filter         ::= '(' filtercomp ')'
filtercomp     ::= and / or / not / item
item           ::= simple / present / substring / extensible
simple         ::= attr filtertype assertionvalue
assertionvalue ::= valueencoding
valueencoding  ::= 0*(normal / escaped)
normal         ::= UTF1SUBSET / UTFMB
escaped        ::= ESC HEX HEX
UTF1SUBSET     ::= %x01-27 / %x2B-5B / %x5D-7F
                          ; UTF1SUBSET excludes 0x00 (NUL), '(',
                          ; ')', '*', and '\'

In fact, I was slightly wrong in my previous comment. The filter should have been :
(cn="abc\5C")

as described in the RFC samples :
        (filename=C:\5cMyFile)

Not sure why there are " around the values, btw... Probably that Outlook expect the server
will consider the inner '\' as a normal character ?

M$ should consider reading carefully the RFCs before implementing some of them ...





> Filter expression  'abc\' sended from Outlook parsed as null.
> -------------------------------------------------------------
>
>                 Key: DIRSERVER-1385
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1385
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Tomasz Juchniewicz
>            Priority: Minor
>
> I send filter like this: commonName= "abc\" and it is parsed as:  (2.5.4.3=*null*).
> I send query from Outlook.
> I don't know, it is a Outlook or ApacheDS bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message