From dev-return-8997-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sat Nov 05 07:28:45 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 39960 invoked from network); 5 Nov 2005 07:28:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Nov 2005 07:28:44 -0000 Received: (qmail 43741 invoked by uid 500); 5 Nov 2005 07:28:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 43680 invoked by uid 500); 5 Nov 2005 07:28:43 -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 43669 invoked by uid 99); 5 Nov 2005 07:28:42 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 23:28:41 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 9D7215C2 for ; Sat, 5 Nov 2005 08:28:20 +0100 (CET) Message-ID: <1021174698.1131175700643.JavaMail.jira@ajax.apache.org> Date: Sat, 5 Nov 2005 08:28:20 +0100 (CET) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIREVE-163) Putting a jpeg picture in the inetOrgPerson jpegPhoto attribute alter the bytes datas of the picture In-Reply-To: <399179367.1118850946764.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIREVE-163?page=comments#action_12356844 ] Alex Karasulu commented on DIREVE-163: -------------------------------------- I finished up this enhancement on commit 330978. Now the server uses the schema to set the value for this binary attribute. It will also merge attributes if users provide this in the server.xml to force the treatment of non-binary attributes as binary. > Putting a jpeg picture in the inetOrgPerson jpegPhoto attribute alter the bytes datas of the picture > ---------------------------------------------------------------------------------------------------- > > Key: DIREVE-163 > URL: http://issues.apache.org/jira/browse/DIREVE-163 > Project: Directory Server > Type: Bug > Versions: 0.9 > Environment: Windows XP SP2 > JRE 1.5 > Built with Netbeans 4.0 > Mevenide. > Reporter: Tony Blanchard > Assignee: Emmanuel Lecharny > Priority: Minor > Fix For: 0.9.4 > Attachments: BinaryTest.java > > All the picture byte values like those (-113 , -115, -112, -127 and -99) are changed to the "63" value when reading jpeg datas. "-39" value is changed to "0". > This is on my jpeg sample picture but I think there is enought datas to be representative. > I have tried to put a picture with JXplorer and my own client program. The same thing happens... > Seems to be a server problem. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira