Failing to parse non-standard line breaks
还没有人认领这个 Issue。
评估
调研方向
未指定源文件或测试。首先复现一个各部分之间使用 LF 换行分隔的 multipart request,然后检查解析器对行分隔符的处理,并将其与 Flask 和 httpbin.org/post 进行比较。当 python-multipart 能够成功解析非标准换行,且不会导致标准 multipart 输入出现回归时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Hi,
A while ago I have found that the package does not handle non standard line breaks e.g. \n for separation of multiple files. Both, Flask and https://httpbin.org/post can handle non-standard line breaks and it would be nice if python-multipart would do so too.
The issue was originally reported here: https://github.com/encode/starlette/issues/1059
However, I think this is now a python-multipart and not a starlette issue, so I am forwarding the issue here.
- 主要语言
- Python
- 星标
- 533
- 派生
- 94
- 平均合并
- 8 天 23 小时
- 30 天内合并 PR
- 5
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Kludex/python-multipart 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
Kludex/python-multipart#319 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
Kludex/python-multipart#201 · 1 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
Kludex/python-multipart#59 · 3 条评论 ·
查看 Kludex/python-multipart 的全部 Issue
相似的 Issue
-
customer-reported
难度 2/5 1-3 小时 新手友好度 68/100
Azure/azure-cli#34150 · 1 条评论 ·
维护者通常 1 天内回复
-
community-request
难度 1/5 1 小时以内 新手友好度 95/100
NVIDIA-NeMo/Curator#2464 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
WeblateOrg/translation-finder#1099 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
trezor/trezor-firmware#7997 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复