Open shgysk8zer0 opened 1 year ago
I'm not sure this can be fixed. Maybe somewhat improved, and any dev implementing the module could address this by checking the length of the headers and body, but in order to be spec compliant I have to have some things of arbitrary length.
Parsing of multipart/form-data this way is no longer required in node >= 20 since I can just throw the headers & body into Request
and use await req.formData()
.
The function is being deprecated and will be removed in an upcoming version.
Tracking issue for: