diff options
author | John Dennis <jdennis@redhat.com> | 2010-03-01 18:55:39 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-03-04 15:30:16 -0500 |
commit | 1289285d491caa67edaeab623e9fbcaaf1a253ff (patch) | |
tree | 305eaf94a8c0fbb0c54f15ea0cb6b3e2e65aa548 /autogen.sh | |
parent | 06e5b8bd6b4648516b34a5c5ae51dbee65946263 (diff) | |
download | freeipa-1289285d491caa67edaeab623e9fbcaaf1a253ff.tar.gz freeipa-1289285d491caa67edaeab623e9fbcaaf1a253ff.tar.xz freeipa-1289285d491caa67edaeab623e9fbcaaf1a253ff.zip |
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.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions