We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpResponseProxy#extractFileNameFromContentString 正则匹配失败
WxJava
HttpResponseProxy#extractFileNameFromContentString方法中 正则匹配失败,匹配不上文件名
入参: content=attachment; filename*=utf-8''%E8%90%A5%E4%B8%9A%E6%89%A7%E7%85%A7.jpg; filename="è�¥ä¸�æ�§ç�§.jpg"
message:错误代码:-99,错误信息:无法获取到文件名,header信息有问题 exception: me.chaniar,weixin.common.error.WxErrorException: 错误代码:-99,错误信息:无法获取到文件名,header信息有问题 stackTrace: me.chanjar.weixin.cp.api.impl.BaseWxCpServicelmpl.executelnternal(BaseWxCpServicelmpl.java:361), me.chanjarweixin.cp.api.impl.BaseWxCpServicelmpl.execute(BaseWxCpServicelmpl.java:289) me.chanjar.weixin.cp.api.impl.WxCpMediaServicelmpl.download(WxCpMediaServicelmpl.java:78)
The text was updated successfully, but these errors were encountered:
欢迎直接提供修复代码
Sorry, something went wrong.
类似问题 #3348
No branches or pull requests
简要描述
HttpResponseProxy#extractFileNameFromContentString 正则匹配失败
模块版本情况
WxJava
模块名: weixin-java-commonWxJava
版本号: 4.6.0详细描述
HttpResponseProxy#extractFileNameFromContentString方法中 正则匹配失败,匹配不上文件名
入参:
content=attachment; filename*=utf-8''%E8%90%A5%E4%B8%9A%E6%89%A7%E7%85%A7.jpg; filename="����.jpg"
日志
message:错误代码:-99,错误信息:无法获取到文件名,header信息有问题
exception: me.chaniar,weixin.common.error.WxErrorException: 错误代码:-99,错误信息:无法获取到文件名,header信息有问题
stackTrace: me.chanjar.weixin.cp.api.impl.BaseWxCpServicelmpl.executelnternal(BaseWxCpServicelmpl.java:361),
me.chanjarweixin.cp.api.impl.BaseWxCpServicelmpl.execute(BaseWxCpServicelmpl.java:289)
me.chanjar.weixin.cp.api.impl.WxCpMediaServicelmpl.download(WxCpMediaServicelmpl.java:78)
The text was updated successfully, but these errors were encountered: