-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CORS origin custom function throw and crash the app #4530
Labels
Comments
raymondfeng
added a commit
that referenced
this issue
Jan 28, 2020
7 tasks
raymondfeng
added a commit
that referenced
this issue
Jan 28, 2020
raymondfeng
added a commit
that referenced
this issue
Feb 3, 2020
raymondfeng
added a commit
that referenced
this issue
Feb 4, 2020
raymondfeng
added a commit
that referenced
this issue
Feb 8, 2020
raymondfeng
added a commit
that referenced
this issue
Feb 11, 2020
raymondfeng
added a commit
that referenced
this issue
Feb 11, 2020
raymondfeng
added a commit
that referenced
this issue
Feb 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Setting the origin to a custom function make the app crash if an error is passed to the callback function.
Current Behavior
/home/ludohen/github/ta-api-core-2/node_modules/@loopback/rest/dist/rest.server.js:616 throw err;
Expected Behavior
send a response with the correct error code.
The text was updated successfully, but these errors were encountered: