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

Petr Vobornik pvoborni at redhat.com
Fri Jul 25 11:29:10 UTC 2014


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.
>>
>> https://fedorahosted.org/freeipa/ticket/4454
> 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.
>

ok

-- 
Petr Vobornik




More information about the Freeipa-devel mailing list