From directory-dev-return-4118-apmail-incubator-directory-dev-archive=incubator.apache.org@incubator.apache.org Sat Feb 05 02:19:33 2005 Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 82681 invoked from network); 5 Feb 2005 02:19:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Feb 2005 02:19:33 -0000 Received: (qmail 7065 invoked by uid 500); 5 Feb 2005 02:19:33 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 7013 invoked by uid 500); 5 Feb 2005 02:19:32 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 7000 invoked by uid 99); 5 Feb 2005 02:19:32 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of aok123@bellsouth.net designates 205.152.59.70 as permitted sender) Received: from imf22aec.mail.bellsouth.net (HELO imf22aec.mail.bellsouth.net) (205.152.59.70) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 2005 18:19:32 -0800 Received: from [172.16.1.8] ([65.80.200.112]) by imf22aec.mail.bellsouth.net (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP id <20050205021930.TNQ2068.imf22aec.mail.bellsouth.net@[172.16.1.8]> for ; Fri, 4 Feb 2005 21:19:30 -0500 Message-ID: <42042D31.7010106@bellsouth.net> Date: Fri, 04 Feb 2005 21:19:29 -0500 From: Alex Karasulu User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [jira] Commented: (DIRLDAP-34) DnParser does not respect RFC2253 References: <589167995.1107531865322.JavaMail.jira@ajax.apache.org> In-Reply-To: <589167995.1107531865322.JavaMail.jira@ajax.apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It may very well be designed poorly and in need of Alanification. I don't remember too much of what I did in the past. Looks like you have a handle on it though. I'd have to go into the code to reassociate myself with it. I will start doing that if you need me to. Just let me know if you need a hand deciphering it. Thanks, Alex Alan Cabrera (JIRA) wrote: > [ 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 ... >> >> > > >