[Freeipa-devel] [PATCH] Fix JSON binary encode and decode errors
Rob Crittenden
rcritten at redhat.com
Tue Mar 2 22:30:55 UTC 2010
John Dennis wrote:
> Fix JSON binary encode and decode errors
>
> Traverse the objects passed to JSON for encoding and decoding.
> When binary data is seen during encode replace the binary
> data with a dict {'__base64__' : base64_encoding_of_binary_value}.
>
> On decode if a dict is seen whose single key is '__base64__' replace
> that dict with the base64 decoded value of the key's value.
>
> Thanks to Jason for the suggestion (no pun intended :-)
>
>
This isn't applying for me. I think the wsgi work that Jason did is
causing the merge problem. John, can you rebase this?
thanks
rob
More information about the Freeipa-devel
mailing list