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 signing for paths with variables in them #15

Closed
wants to merge 1 commit into from
Closed

Fix signing for paths with variables in them #15

wants to merge 1 commit into from

Conversation

echo-bravo-yahoo
Copy link

Signature was calculated from pre-interpolation paths, e.g.,
foo.com/bar/{{id}}. Now, path is interpolated before signing, e.g.,
foo.com/bar/1. This should be safe for interpolation in the form
{{variable}} or {{ variable }}.

Signature was calculated from pre-interpolation paths, e.g.,
`foo.com/bar/{{id}}`. Now, path is interpolated before signing, e.g.,
`foo.com/bar/1`. This should be safe for interpolation in the form
`{{variable}}` or `{{ variable }}`.
@echo-bravo-yahoo
Copy link
Author

Failures appear to all be linting. I'll fix them if this PR has value, but it appears there's already been some prior discussion of this bug.

@gwsii
Copy link
Member

gwsii commented Sep 11, 2020

Closing this MR as there is another that fixes #13

@gwsii gwsii closed this Sep 11, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants