Sending an array in a GET request turns it into a string
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- api
调研方向
首先,使用数组参数重现报告中的 GET 请求,并将 redaxios 与 axios 进行比较,检查服务器接收到的内容。找到请求参数序列化的入口点,然后验证生成的请求中的数组值仍然是数组;如果 repository 中有相关测试,则添加或更新覆盖范围。
由索引模型根据 Issue 内容生成。
描述
If you send an array as a parameter in a GET request, redaxios turns that into a string separated by commas. This seems like a bug.
On the server-side (ie: PHP) we would expect that to be provided as an array, but it ends up being a string.
In axios this is correctly kept as an array.
- 主要语言
- JavaScript
- 星标
- 4.9k
- 派生
- 104
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
developit/redaxios 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 2/5 1-3 小时 新手友好度 42/100
查看 developit/redaxios 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
mksglu/context-mode#1200 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
neondatabase/website#5944 ·
-
module: core
难度 2/5 1-3 小时 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
jaegertracing/jaeger-ui#4506 ·