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

AWS S3: Fix plus char usage in s3 key #1738

Merged
merged 8 commits into from
Jun 3, 2019
Merged

Conversation

gipeshka
Copy link
Contributor

@gipeshka gipeshka commented May 31, 2019

Purpose

Fixes issue with using + char in a S3 object key

References

#838 S3 Connector - Using + (plus) symbol causes mismatched request signature

Changes

  • HttpRequests adds a synthetic akka http header Raw-Request-URI to the built request. The header contains stringified uri of a request with all + characters replaced with the url-encoded representation %2B.
  • Signer now ignores a synthetic akka http header Raw-Request-URI.

@ennru ennru added the p:aws-s3 label Jun 3, 2019
Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

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

LGTM.

@ennru ennru changed the title Fix plus char usage in s3 key AWS S3: Fix plus char usage in s3 key Jun 3, 2019
@ennru ennru merged commit 3e98c1c into akka:master Jun 3, 2019
@ennru
Copy link
Member

ennru commented Jun 3, 2019

Thank you for fixing it!

@ennru ennru added this to the 1.0.3 milestone Jun 3, 2019
@gipeshka gipeshka deleted the 838_s3_plus_in_key branch June 3, 2019 15:03
cheleb pushed a commit to cheleb/alpakka that referenced this pull request Jul 5, 2019
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.

3 participants