summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2010-03-01 18:55:39 -0500
committerRob Crittenden <rcritten@redhat.com>2010-03-04 15:30:16 -0500
commit1289285d491caa67edaeab623e9fbcaaf1a253ff (patch)
tree305eaf94a8c0fbb0c54f15ea0cb6b3e2e65aa548 /ipalib/cli.py
parent06e5b8bd6b4648516b34a5c5ae51dbee65946263 (diff)
downloadfreeipa-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 'ipalib/cli.py')
0 files changed, 0 insertions, 0 deletions