GNU bug report logs -
#63941
[PATCH] ; always CRLF before non-first boundary in multipart form
Previous Next
Full log
View this message in rfc822 format
> From: ozzloy <ozzloy <at> gmail.com>
> Date: Tue, 6 Jun 2023 22:25:40 -0700
>
> When I POST a file ending with a newline using EWW, the final newline
> gets chomped off of the content. This is because
> mm-url-encode-multipart-form-data inserts CRLF unless it is at the
> beginning of a line. For file uploads, this behavior is incorrect.
>
> To reproduce,
>
> 0. Upload a file ending in "\n" using EWW.
>
> 1. Observe the POST does not have CRLF between the file content and the
> boundary.
Thanks, but could you please describe in detail what should be done in
step 0? how to "post a file using EWW"?
We need the details to be sure we reproduce the same problem as you
do, and also to test the solution and any alternatives.
This bug report was last modified 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.