Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bas64 with padding decoding fails when there is a new line character before the next tag #48

Open
fdgStilla opened this issue Sep 11, 2023 · 0 comments

Comments

@fdgStilla
Copy link

I'm using anyrpc as a c++ RPC server and xmlrcp as a python client.

xmlrpc send a pretty xml with a newline character before/after each tag.
But if the base64 string is padded (ends with = or ==) anyrpc always expects the next tag to be just after the end of the base64 string.
See Base64Decode method:

// verify termination character
return (is.Peek() == termChar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant