You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/02/07 13:26:05 UTC

[jira] Updated: (DIRSERVER-844) Storing byte[] values for textual AT is possible even if not allowed

     [ https://issues.apache.org/jira/browse/DIRSERVER-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-844:
----------------------------------------

        Fix Version/s: 1.5.0
                       1.0.1
    Affects Version/s: 1.5.0
                       1.0.1

> 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.