[
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)