@mjackson+multipart-parser+0.10.1.patch
We use multipart-parser in a browser script. The problem is with the \r\n
characters might get replaced to \n
by minify scripts or CDN provider optimizations. I suggest to replace those with:
var CRLF = String.fromCharCode.apply(null,new Uint8Array([13,10]))
and use CRLF variable everywhere.
CDN provider who makes wrong minify:
Other codes which did not work:
String.fromCharCode(13, 10)
-> ESbuild converts to \r\n
"\x0D\x0A"
-> ESbuild converts to \r\n