Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

使用POST请求在传入cookie字符串时,cookie没有先转为对象 #1179

Closed
Clarkkkk opened this issue Mar 25, 2021 · 2 comments
Closed

Comments

@Clarkkkk
Copy link
Contributor

环境

  • 系统/平台: 无关

  • nodejs 版本: 无关

  • API版本: 4.0.9

出现问题

使用POST请求在传入cookie字符串时,没有对req.body.cookie进行处理,如果传入的cookie是字符串,一些接口会报错,比如最近更新like.js,还有以前报过的#1005,在中间件里先处理一下,应该就一劳永逸地解决这个问题了。

@Clarkkkk
Copy link
Contributor Author

#1180

@Binaryify
Copy link
Owner

 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants