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

fix: Handle re-written URLs in HTTP signature validation #196

Merged
merged 1 commit into from
May 13, 2021

Conversation

bflorian
Copy link
Contributor

@bflorian bflorian commented May 13, 2021

The HTTP signature validation library used by the SDK runs into issues with systems that re-write the request url, such as nginx and the AWS API gateway. This issue with the library provides more information:

TritonDataCenter/node-http-signature#87

This PR also properly moves the snyk package to be a dev dependency, to reduce package since.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document
  • My code follows the code style of this project (hint: install an xo editor plugin)
  • Any required documentation has been added
  • I have added tests to cover my changes

@bflorian bflorian merged commit 69b89c5 into SmartThingsCommunity:master May 13, 2021
smartthingspi added a commit that referenced this pull request May 13, 2021
## [2.5.2](v2.5.1...v2.5.2) (2021-05-13)

### Bug Fixes

* Handle re-written URLs in HTTP signature validation ([#196](#196)) ([69b89c5](69b89c5))
@smartthingspi
Copy link
Contributor

🎉 This PR is included in version 2.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants