Today encountered a problem, the image of the Base64 data forwarding, the customer received base64 data generated image distortion.
Through log monitoring, comparing the data received by the customer and the data I sent, I finally found out that the place in the customer's Base64 data that should have been shown as a plus sign ("+") was replaced by a space. To ask Niang, a post said before the data to be pre-processing, the plus sign replaced with%2B. For some reason, the Base64 data received by the client after processing is consistent with the data sent.
Attached Original: Https://social.msdn.microsoft.com/forums/azure/fr-fr/5b98ba43-6a83-4620-998e-2ce02b1fea1b/xmlhttpsend
Recommend a base64 and pictures to convert to each other's website: http://www.vgot.net/test/image2base64.php?
C # base64 picture data transfer Plus (+) variable space problem