我就说最近怎么老是有“java.lang.IllegalArgumentException: Last unit does not have enough valid bits”异常告警,官方抓紧处理一下吧
退款回调通知中的Wechatpay-Signature长度不对从8月23号开始,退款回调通知中的请求头Wechatpay-Signature长度不对,例如长度为:355,导致base64进行解码时,报如下错误: java.lang.IllegalArgumentException: Last unit does not have enough valid bits at java.util.Base64$Decoder.decode0(Base64.java:734) at java.util.Base64$Decoder.decode(Base64.java:526) at java.util.Base64$Decoder.decode(Base64.java:549) Wechatpay-Signature如下: WECHATPAY/SIGNTEST/WasLSPDq2oMMpofamwBbGImTHw9NVoeGAKwl9LcD3jLJ9ugq9ODHNyi0oKtCk0J+Ej3pFobolZHS4CMv11nz3IGPZLhvEZn4q0bIKtJiqas9YMM+eFHL7ihjV0Mc13iZ77TG+Nv2peISvyNsuPx7th3ZZrH6gREWZc3jqW29t3tB4vaqlfeD8kVvIryE7l4N7zB6mqo2L+dmvXvxPdZzSfAK51vdc2646BZiDY6XVuYie9smURVXse6nB/Of2HW3W6bMHXpk11sBt4JM/M6uuDsAqGSFJKAl3myUzgPVUQSLAia2GY7wjFgAEoaaG7897eqcNiZokGInTg==
2023-08-25