directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-1249) UTF-8 encoding problem
Date Sun, 03 May 2020 08:24:00 GMT

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

Andrei commented on DIRSTUDIO-1249:
-----------------------------------

[~seelmann], sorry, I haven't seen your previous comment until now.

In M14 there was only one provider available, "Apache Directory LDAP Client API", and that
was selected.

 

!image-2020-05-03-10-22-48-997.png!

> UTF-8 encoding problem
> ----------------------
>
>                 Key: DIRSTUDIO-1249
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1249
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M15
>         Environment: Windows 10
> PingDirectory ( https://www.pingidentity.com/en/software/pingdirectory.html )
>            Reporter: Andrei
>            Priority: Minor
>             Fix For: 2.0.0-M15
>
>         Attachments: image-2020-04-20-18-06-52-949.png, image-2020-04-20-18-07-26-199.png,
image-2020-04-21-08-54-33-185.png, image-2020-04-21-08-55-19-581.png, image-2020-05-03-10-22-48-997.png
>
>
> A binary value from the LDAP Server is parsed or encoded incorrectly in Apache Directory
Studio.
> The value contains a SMIME Certificate and has the following properties:
>  * m-syntax: 1.3.6.1.4.1.1466.115.121.1.5 (binary, [https://ldapwiki.com/wiki/1.3.6.1.4.1.1466.115.121.1.5] )
>  * m-singleValue: TRUE
> The value has in reality 1667 bytes but is reported as binary data with a size of 2422
bytes.
> I can read the value correctly with a console program (ldapmodify) but I can't get the
correct value in Apache Directory Studio. I've tried to copy the value as base64, export the
user as LDIF, and to open with the hex editor and trying to save the data).
> In the output there are a lot of "EF BF BD" sequences (the UTF-8 encoded 'Replacement
Character') [https://www.fileformat.info/info/unicode/char/fffd/index.htm]
> !image-2020-04-20-18-06-52-949.png!
> The correct file should look like this:
> !image-2020-04-20-18-07-26-199.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message