bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63941: [PATCH] ; always CRLF before non-first boundary in multipart


From: ozzloy
Subject: bug#63941: [PATCH] ; always CRLF before non-first boundary in multipart form
Date: Sun, 18 Jun 2023 16:23:23 -0700


> who knows where it is used?

As far as I can tell, it is only ever used by =(eww-submit ...)= from
=lisp/net/eww.el=.  That's the only place it's used in all of emacs,
and every reference I can find on the web.

I've tested the heck out of it now, and also used firefox, chromium,
and curl to generate http messages for comparison.

Those tests of the different versions of
=mm-url-encode-multipart-form-data=, as well as the http messages
generated by firefox, chromium, and curl can be seen here

https://git.sr.ht/~ozzloy/emacs-bug-63941/tree/53a7949a5db21c456c1da3b4add29343c3d02137/item/mm-url-tests.el

The patch I have attached to this email generates output that matches
firefox, chromium, and curl.  It also includes a bunch of tests for
the included version of =mm-url-encode-multipart-form-data="">
If there's some change that would make the patch a better fit, let me
know.  I'm happy to modify it.


Attachment: 0001-always-CRLF-before-non-first-boundary-in-mulitpart-f.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]