You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/07/22 14:03:14 UTC
[jira] Resolved: (DIRSERVER-1385) Filter expression 'abc\' sended
from Outlook parsed as null.
[ 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.