Flavio Mattos created DIRAPI-172:
------------------------------------

             Summary: 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.1.5#6160)

Reply via email to