directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Cabrera (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Commented: (DIRLDAP-34) DnParser does not respect RFC2253
Date Fri, 04 Feb 2005 15:44:25 GMT
     [ http://issues.apache.org/jira/browse/DIRLDAP-34?page=comments#action_58601 ]
     
Alan Cabrera commented on DIRLDAP-34:
-------------------------------------

The value parser does something odd.  It parses the values in bits.  I suspect that it does
this because it wants the possibility to normalize the bits; which is something that it doesn't
seem to do very well atm but, I could be wrong.  

The problem w/ parsing in pieces is that the parser thinks that this is a valid value

CN= FOO "BAR" CAR ,

I believe that the value parser should grab the whole value in one valid piece.  If normalization
needs to take place, then break the valid value into tiny normalizable pieces.

> DnParser does not respect RFC2253
> ---------------------------------
>
>          Key: DIRLDAP-34
>          URL: http://issues.apache.org/jira/browse/DIRLDAP-34
>      Project: Directory LDAP
>         Type: Bug
>   Components: Common
>     Versions: 0.8.0
>  Environment: NR
>     Reporter: Emmanuel Lecharny
>     Assignee: Alan Cabrera
>  Attachments: DnParserTest.java
>
> The DnParser does not conform to RFC 2253 and RFC 1779 :
> parsed  :  "CN=L. Eagle,O=Sue\, Grabbit and Runn,C=GB"
> expected : "CN=L. Eagle,O=Sue\,Grabbit and Runn,C=GB"
> Parsing "CN=Before\0DAfter,O=Test,C=GB" leads to an infinite loop
> Other tests are to be done ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message