[Freeipa-devel] [PATCH] 716 baseldap: return 'none' attr level right as unicode string

Alexander Bokovoy abokovoy at redhat.com
Fri Jul 25 11:02:42 UTC 2014


On Fri, 25 Jul 2014, Petr Vobornik wrote:
>Returning non-unicode causes serialization into base64 which causes 
>havoc in Web UI.
>
>https://fedorahosted.org/freeipa/ticket/4454
ACK for this patch.

>
>
>IMHO we should fix JSON-RPC serialization to encode non-unicode 
>strings to normal JSON strings.
We should use unicode strings everywhere and leave non-unicode ones to
present binary content, that's why it is encoded as base64.

So no, we shouldn't change JSON-RPC serialization. However, we need to
find a way to track non-unicode strings where possible.


-- 
/ Alexander Bokovoy




More information about the Freeipa-devel mailing list