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 Lécharny (Jira)" <ji...@apache.org> on 2022/07/27 21:49:00 UTC

[jira] [Resolved] (DIRAPI-369) DSML needsBase64Encoding

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

Emmanuel Lécharny resolved DIRAPI-369.
--------------------------------------
    Fix Version/s: 2.1.1
       Resolution: Fixed

Don't anymore base64 encode String values. We escape them so that they are properly included in a XML file.

> DSML needsBase64Encoding
> ------------------------
>
>                 Key: DIRAPI-369
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-369
>             Project: Directory Client API
>          Issue Type: Bug
>            Reporter: Florian Kimmann
>            Priority: Major
>             Fix For: 2.1.1
>
>
> Why does the method  needsBase64Encoding in the dsml ParserUtils check for LDIF safety?
> DSML doesnt have to be LDIF safe? We get Base64 encoded strings in our application all the time, because of  common german characters like äöüß etc.
> XML can handle those characters. Or am I overlooking something?
>  
> [https://github.com/apache/directory-ldap-api/blob/275b9830b8b974dc19fb3b8d38c68061211fb5f7/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/ParserUtils.java#L167]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org