Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 57553 invoked from network); 8 Feb 2007 11:50:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 11:50:27 -0000 Received: (qmail 3167 invoked by uid 500); 8 Feb 2007 11:50:34 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2950 invoked by uid 500); 8 Feb 2007 11:50:33 -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 2939 invoked by uid 99); 8 Feb 2007 11:50:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 03:50:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 03:50:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B206B7142BF for ; Thu, 8 Feb 2007 03:50:05 -0800 (PST) Message-ID: <17382021.1170935405726.JavaMail.jira@brutus> Date: Thu, 8 Feb 2007 03:50:05 -0800 (PST) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-844) Storing byte[] values for textual AT is possible even if not allowed In-Reply-To: <21439723.1170851165734.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSERVER-844. ----------------------------------------- Resolution: Fixed Fixed in 1.0.1 and 1.5.0 > Storing byte[] values for textual AT is possible even if not allowed > -------------------------------------------------------------------- > > Key: DIRSERVER-844 > URL: https://issues.apache.org/jira/browse/DIRSERVER-844 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0.1, 1.5.0 > Reporter: Emmanuel Lecharny > Fix For: 1.0.1, 1.5.0 > > > If we pass a DN as a byte[] to the server (for instance, by importing a Ldif file which contains an base64 encoded value), the server stores the value as a byte[] instead of transforming the value to a String before storing it. This is not good at all. In case we have a H-R atttribute type, then we must assume that the value should be converted to a String, and if we get an invalid byte[], then we must throw an exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.