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 invalid signature error when consecutive slashes exists in path #4051

Closed
wants to merge 1 commit into from

Conversation

AllanZhengYP
Copy link
Contributor

Similar to aws/aws-sdk-js-v3#3408, this change fixes invalid signature error when consecutive slashes exists in the reques path. This change also normalizes the relative pathes.

Checklist
  • npm run test passes
  • changelog is added, npm run add-change

@AllanZhengYP AllanZhengYP requested a review from a team as a code owner March 9, 2022 23:22
@renatorroliveira
Copy link

Same happens for redundant port number (like :443 for HTTPS URLs).
#4062

it('should fix invalid path with consecutive slashes', function () {
expect(AWS.util.uriNormalizePath('a//c')).to.equal('a/c');
});
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this function include handling the // in https://?

@github-actions
Copy link

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Apr 13, 2023
@github-actions github-actions bot closed this Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants