-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
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
Failing to parse non-standard line breaks #31
Comments
2 tasks
Updates on this? Is there an easy workaround? |
Nonstandard line breaks would be a protocol breach though, would they not. |
@jhnstrk Do you think this makes sense? |
This request seems reasonable, because many (but not all) other multipart parsers, in Python and other languages, do handle the non-standard LF-only ending after the boundary is matched. But I don't see failing to handle this as a bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 andhttps://httpbin.org/post
can handle non-standard line breaks and it would be nice ifpython-multipart
would do so too.The issue was originally reported here: encode/starlette#1059
However, I think this is now a
python-multipart
and not a starlette issue, so I am forwarding the issue here.The text was updated successfully, but these errors were encountered: