Skip to content
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

Nap should return malformed request errors on bad input #34

Open
mstade opened this issue Jan 21, 2016 · 0 comments
Open

Nap should return malformed request errors on bad input #34

mstade opened this issue Jan 21, 2016 · 0 comments

Comments

@mstade
Copy link
Member

mstade commented Jan 21, 2016

If you try to make a request with the uri set to undefined or something else invalid, nap will still happily pass that on to rhumb, which will throw unhelpful errors. (See websdk/rhumb#13.)

Nap should verify the integrity of incoming requests, and if they are invalid in one way or another, should throw an appropriate error.

mstade added a commit to zambezi/address that referenced this issue Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant