From dev-return-40466-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed Feb 22 15:50:13 2012 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BB2D97F5 for ; Wed, 22 Feb 2012 15:50:13 +0000 (UTC) Received: (qmail 88780 invoked by uid 500); 22 Feb 2012 15:50:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 88579 invoked by uid 500); 22 Feb 2012 15:50:13 -0000 Mailing-List: contact dev-help@directory.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 dev@directory.apache.org Received: (qmail 88567 invoked by uid 99); 22 Feb 2012 15:50:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 15:50:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 15:50:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8FFED3344E1 for ; Wed, 22 Feb 2012 15:49:48 +0000 (UTC) Date: Wed, 22 Feb 2012 15:49:48 +0000 (UTC) From: "Emmanuel Lecharny (Closed) (JIRA)" To: dev@directory.apache.org Message-ID: <443971647.4575.1329925788591.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1076027223.46373.1329405179533.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DIRSERVER-1699) DN/RDN handling is incorrect when there are some escaped values into them MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRSERVER-1699. ---------------------------------------- > DN/RDN handling is incorrect when there are some escaped values into them > ------------------------------------------------------------------------- > > Key: DIRSERVER-1699 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1699 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 2.0.0-M5 > Reporter: Emmanuel Lecharny > Priority: Blocker > Fix For: 2.0.0-M6 > > > Creating an entry which DN is : > cn=a\+B,ou=system > leads to an entry containing the following cn : > cn: a+b > which is not good, because the expected value is a+B > This is due to the fact that we store the normalized RDN value instead of the upValue. > It goes a bit farther though : the way we handle DN and RDN is bogs wrt values : we should store the UP value *without* the escape chars (\), and this is not what we store. > For instance, the following RDN : > cn=a\+B > will have a upValue -> a\+B instead of a+B > and a normValue -> a+b > The normValue is correct, but there is a confusion between the upValue and the escapedValue, which is only use when printing RDN, not when manipulating them. -- 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