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

Error when hawk payload validation is required but the request contains no hash #949

Merged
merged 1 commit into from
Jul 3, 2013
Merged

Conversation

dannycoates
Copy link
Contributor

When hawk authentication and payload verification are required
authenticatePayload with throw an error if artifacts.hash is
undefined.

I'm not sure if this is the right way to fix it, but the test case shows the issue.

Thanks :)

//cc @zaach

When hawk authentication and payload verification are required
authenticatePayload with throw an error if artifacts.hash is
undefined. It should be defined even if the request excluded
the hash.
hueniverse pushed a commit that referenced this pull request Jul 3, 2013
Error when hawk payload validation is required but the request contains no hash
@hueniverse hueniverse merged commit 7c2363f into hapijs:master Jul 3, 2013
hueniverse pushed a commit that referenced this pull request Jul 3, 2013
jmonster pushed a commit to jmonster/hapi that referenced this pull request Feb 10, 2014
Error when hawk payload validation is required but the request contains no hash
jmonster pushed a commit to jmonster/hapi that referenced this pull request Feb 10, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants