Image upload

Bug Reports
  • When uploading an image on IE11 I got this error:

    error: stream ended unexpectedly {"expose":true,"statusCode":400,"status":400,"stack":"BadRequestError: stream ended unexpectedly
    	at Form.<anonymous> (C:\\Program Files\\NodeBB\\node_modules\\multiparty\\index.js:759:24)
    	at Form.emit (events.js:194:15)
    	at finishMaybe (_stream_writable.js:641:14)
    	at endWritable (_stream_writable.js:649:3)
    	at Form.Writable.end (_stream_writable.js:589:5)
    	at IncomingMessage.onend (_stream_readable.js:629:10)
    	at Object.onceWrapper (events.js:277:13)\n
    	at IncomingMessage.emit (events.js:194:15)
    	at endReadableNT (_stream_readable.js:1103:12)
    	at process._tickCallback (internal/process/next_tick.js:63:19)"}
    

    With Chrome and Firefox the upload works correctly.
    I am using NodeBB v1.12.0 with Composer and Markdown plugins activated.
    It looks like a "well known" IE error: it is not handling correctly content-Type multipart/form-data.
    I didn't find any information about on the forum, am I the only one getting it with NodeBB?

    Thanks!

  • @fortunato I forgot to say that this error doesn't show up when creating a new topic and sometimes it works also in replies. The error in the NodeBB UI is the following: "stream ended unexpectedly"

    6c6ff98f-95d8-4ad4-b402-b7a336cf47e7-image.png


Suggested Topics


| | | |