Skip to content

wip: add skip-uri-encode param to add-aws-v4-auth-heads#66

Open
mxork wants to merge 1 commit into
greghendershott:masterfrom
mxork:canonical-path-uri-encode
Open

wip: add skip-uri-encode param to add-aws-v4-auth-heads#66
mxork wants to merge 1 commit into
greghendershott:masterfrom
mxork:canonical-path-uri-encode

Conversation

@mxork

@mxork mxork commented Aug 4, 2020

Copy link
Copy Markdown

Docs say path segments need to be double url-encoded: https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html. S3 is exceptional, and needs to be encoded only once.

Diff as-is is a somewhat awkward attempt to drill the param through and still have S3 do the right thing.

Still needs style, testing, and coverage of add-v4-auth-heads and aws-v4-signed-uri.


Also, should probably use uri-encode/rfc-... from utils.

Also, should probably uri-encode the request uri.

@mxork mxork force-pushed the canonical-path-uri-encode branch from 07f05da to 091266f Compare August 4, 2020 00:04
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.

1 participant