You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data check in response-extensions.js is too weak. When using res.send() with a buffer, it converts the response to JSON.
if (typeof data === 'object') { // Buffers should be excluded.
// transparently setting the 'content-type' header if JSON
res.setHeader('content-type', 'application/json')
params.data = JSON.stringify(params.data)
}
The text was updated successfully, but these errors were encountered:
The data check in
response-extensions.js
is too weak. When usingres.send()
with a buffer, it converts the response to JSON.The text was updated successfully, but these errors were encountered: