Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Malformed urlencoded form #358

Open
terrablue opened this issue May 5, 2024 · 1 comment
Open

Error: Malformed urlencoded form #358

terrablue opened this issue May 5, 2024 · 1 comment

Comments

@terrablue
Copy link

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?

@mscdex
Copy link
Owner

mscdex commented May 5, 2024

Did you add an 'error' event handler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants