On 25.7.2014 13:02, Alexander Bokovoy wrote:
On Fri, 25 Jul 2014, Petr Vobornik wrote:
Returning non-unicode causes serialization into base64 which causes
havoc in Web UI.

ACK for this patch.

Pushed to:
master: c475c093c9524353be0fbc1d5690a081b0c56cdc
ipa-4-1: c475c093c9524353be0fbc1d5690a081b0c56cdc
ipa-4-0: a356385f2d73d17ec883d2618d6037efee08f548

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.


Petr Vobornik

Freeipa-devel mailing list

Reply via email to