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] [Commented] (DIRAPI-192) Rdn.escapeValue() should not escape unicode characters
Date Mon, 19 May 2014 18:48:38 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002156#comment-14002156
] 

Emmanuel Lecharny commented on DIRAPI-192:
------------------------------------------

I think you are right. The grammar specifies that we can use any UTF-8 char, even if it's
multibytes, and they don't need to be escaped.

Let'w apply the patch if API and ApacheDS are passing.

> Rdn.escapeValue() should not escape unicode characters
> ------------------------------------------------------
>
>                 Key: DIRAPI-192
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-192
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M22
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>            Priority: Minor
>             Fix For: 1.0.0-M23
>
>         Attachments: DIRAPI-192-shared.patch
>
>
> DIRSTUDIO-963 complains about escaped DNs. The reason is that we use Rdn.escapeValue()
which escapes each multi-bye unicode character. I think according to RFC4514, section 2.4
this is not required, it just states "Other characters may be escaped".



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

Mime
View raw message