Closed shdown closed 4 years ago
ppconsul::helpers::encodeBase64() did not account for the fact that base64_encode_block() adds line breaks every 72 symbols or so. Let's just remove this "feature" from base64_encode_block().
Please add unit test(s) for base64 encoding of long strings under https://github.com/oliora/ppconsul/blob/master/tests/unittests/helpers.cpp
Done.
Thank you for the fix!
ppconsul::helpers::encodeBase64() did not account for the fact that base64_encode_block() adds line breaks every 72 symbols or so. Let's just remove this "feature" from base64_encode_block().