问题: base64格式字符上传完图片,图片文件损坏不能正常打开;
原因:JSP 或 html 会自动把base64中的换行符 换成 ‘%0A’;
详细解释:https://www.cnblogs.com/zy433125/p/9577614.html