Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Fully unescape string before decoding base64 to byte[] #409

Merged
merged 2 commits into from Apr 24, 2014

Conversation

bjdodson
Copy link
Contributor

Our server json serializer (Jersey) generates escaped slashes in our byte[]'s base64. I switched to the unsafe string decode when decoding byte[] and added a test that fails otherwise. I added some escape characters to a few other tests along the way and left them in since they make the tests just a pinch more robust.

Thanks a lot for your work on this killer library :)

mythz added a commit that referenced this pull request Apr 24, 2014
Fully unescape string before decoding base64 to byte[]
@mythz mythz merged commit 55891a2 into ServiceStack:master Apr 24, 2014
@mythz
Copy link
Member

mythz commented Apr 24, 2014

Great! appreciated 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants