directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRAPI-172) ArrayIndexOutOfBoundsException with special characters - Strings.TO_LOWER_CAS
Date Wed, 16 Apr 2014 23:44:15 GMT

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

Emmanuel Lecharny resolved DIRAPI-172.
--------------------------------------

    Resolution: Won't Fix

The used format for this entry creation is LDIF. It does not allow chars that are not plain
ASCII. Use base 64 encoded values.

> ArrayIndexOutOfBoundsException with special characters - Strings.TO_LOWER_CAS
> -----------------------------------------------------------------------------
>
>                 Key: DIRAPI-172
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-172
>             Project: Directory Client API
>          Issue Type: Improvement
>            Reporter: Flavio Mattos
>
> When the following constructor is called, an ArrayIndexOutOfBoundsExceptions is thrown..

> Entry entry = new 
>             DefaultEntry("uid=netbeans,ou=customer_service,ou=employees,dc=example,dc=com",

>                             "cn: netbeans", 
>                             "sn: netbeans", 
>                             "givenName:范"); 
> The API should encode it automatically, the same way ModifyRequest does.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message