Apache Directory Project - [jira] Commented: (DIREVE-163) Putting a jpeg picture in the inetOrgPerson jpegPhoto a

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > November 2005 > [jira] Commented: (DIREVE-163) Putting a jpeg picture in the inetOrgPerson jpegPhoto a





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIREVE-163) Putting a jpeg picture in the inetOrgPerson jpegPhoto a
Alex Karasulu (JIRA)

2005-11-05, 2:45 am

[ http://issues.apache.org/jira/brows...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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com