Skip to content

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

Merged
hueniverse merged 1 commit into
hapijs:masterfrom
dannycoates:hawkPayload
Jul 3, 2013
Merged

hueniverse merged 1 commit into
hapijs:masterfrom
dannycoates:hawkPayload

Conversation

@dannycoates

Copy link
Copy Markdown
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