Open
Description
Problem:
We have some code that intends to return a friendly error if the first byte is base64 encoded:
However we can't ever get inside those statements because we first do a check at:
Solution:
Move the logic checking the expected first byte in Base64 before the branch that determines which version we're deserializing.
Out of scope:
n/a