BUG: This is weird, but marquee does not seem to handle base64 with new lines
This commit is contained in:
parent
630b6353cd
commit
b81639cf90
|
@ -258,7 +258,7 @@ xmlrpc_serialize_base64_data (xmlrpc_env *env,
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
/* Encode the data. */
|
/* Encode the data. */
|
||||||
encoded = xmlrpc_base64_encode(env, data, len);
|
encoded = xmlrpc_base64_encode_without_newlines(env, data, len);
|
||||||
XMLRPC_FAIL_IF_FAULT(env);
|
XMLRPC_FAIL_IF_FAULT(env);
|
||||||
contents = XMLRPC_TYPED_MEM_BLOCK_CONTENTS(unsigned char, encoded);
|
contents = XMLRPC_TYPED_MEM_BLOCK_CONTENTS(unsigned char, encoded);
|
||||||
size = XMLRPC_TYPED_MEM_BLOCK_SIZE(unsigned char, encoded);
|
size = XMLRPC_TYPED_MEM_BLOCK_SIZE(unsigned char, encoded);
|
||||||
|
|
Loading…
Reference in New Issue