-
Notifications
You must be signed in to change notification settings - Fork 87
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
NOT COMPLIANT WITH RFC FORMAT #20
Comments
Are you sure? Isn't that what |
I verified with curl, and "boundary part" in the body is additionally prefixed with "--". $ curl -X POST -F name=John http://localhost:2000
Comparing boundary values:
|
Don't know how it is
but code logic is wrong and @cheneydeng absolutely right. Surprisingly that such serious bug still not fixed...
in my case it doesn't work at all... |
@c1tru55 feel free to fork and fix. I don't use it anymore and Cosmonaut was pet project never used in real application |
I found this bug yet ... |
Just found this bug as well. Please at least add a hint to your readme. |
not rfc standard |
Hi! |
hi all,
I found that you guys have not understand what the format of multipart/form-data, the boundary is not as the same as it show in the body.Say we got the boundary in the HTTP header,as "--xxyy",then the "boundary part" in the body is
--boundary =====> ----xxyy.
and the last "boundary" =====> --boundary-- ======> --xxyy--
you misunderstand this and it will cause your code parse the data incorrectly.
The text was updated successfully, but these errors were encountered: