tomdionysus / foaas

FOAAS (Fuck Off As A Service) provides a modern, RESTful, scalable solution to the common problem of telling people to fuck off.
http://foaas.com
Do What The F*ck You Want To Public License
2.99k stars 394 forks source link

Information leakage when sending invalid requests. #83

Closed iMerica closed 9 years ago

iMerica commented 9 years ago

curl -H "Content-Type: application/json" http://foaas.herokuapp.com/

Error: invalid json
  at Object.exports.error (/app/node_modules/express/node_modules/connect/lib/utils.js:44:13)
  at IncomingMessage.<anonymous> (/app/node_modules/express/node_modules/connect/lib/middleware/json.js:68:73)
  at IncomingMessage.<anonymous> (/app/node_modules/newrelic/node_modules/continuation-local-storage/context.js:74:17)
  at IncomingMessage.emit (events.js:92:17)
  at IncomingMessage.emitted [as emit] (/app/node_modules/newrelic/node_modules/continuation-local-storage/node_modules/emitter-listener/listener.js:122:21)
  at _stream_readable.js:943:16
  at /app/node_modules/newrelic/node_modules/continuation-local-storage/node_modules/async-listener/glue.js:188:31
  at process._tickCallback (node.js:419:13)