sailsjs-angularjs-bootstrap-example icon indicating copy to clipboard operation
sailsjs-angularjs-bootstrap-example copied to clipboard

Inconsistent behavior with REST 403/500 errors

Open cgmartin opened this issue 10 years ago • 1 comments

Seeing odd behavior in Sails v0.9.8 when throwing 500 application errors, and when 403 forbidden errors are triggered from policy configurations where a controller/action is false. The results are not consistent between Socket and HTTP modes. More research is needed.

To reproduce,

  1. Visit http://localhost:1337/rest-examples.
  2. Click the HTTP and Socket buttons for 403: Forbidden and 500: Internal Server Error
  3. Compare the results.

cgmartin avatar Jan 10 '14 03:01 cgmartin