mscdex/busboy

Error: Malformed urlencoded form

terrablue opened this issue · 2 comments

Stacktrace

Error: Malformed urlencoded form
    at URLEncoded._write (/srv/http/gp/node_modules/busboy/lib/types/urlencoded.js:201:27)
    at writeOrBuffer (node:internal/streams/writable:564:12)
    at _write (node:internal/streams/writable:493:10)
    at Writable.write (node:internal/streams/writable:502:10)
    at IncomingMessage.ondata (node:internal/streams/readable:1007:22)
    at IncomingMessage.emit (node:events:519:28)
    at Readable.read (node:internal/streams/readable:780:10)
    at flow (node:internal/streams/readable:1281:53)
    at resume_ (node:internal/streams/readable:1260:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on URLEncoded instance at:
    at URLEncoded.onerror (node:internal/streams/readable:1026:14)
    at URLEncoded.emit (node:events:519:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v21.7.3

Is this something that should be fixed in busboy, or should the library using it try/catch this error?

Did you add an 'error' event handler?