8000
Skip to content

[DCOS-45428] Cosmos should not perform URL Decoding for url parameter on /resource endpoing#767

Merged
takirala merged 3 commits intomasterfrom
tga/resource-proxy-handler-encoding-bug
Feb 1, 2019
Merged

[DCOS-45428] Cosmos should not perform URL Decoding for url parameter on /resource endpoing#767
takirala merged 3 commits intomasterfrom
tga/resource-proxy-handler-encoding-bug

Conversation

@takirala
Copy link
Copy Markdown
Contributor
@takirala takirala commented Feb 1, 2019

Based on this comment on DCOS-45428 we should use a NoOp Decoder while parsing the url parameter on /resource endpoint.
Unrelated to above JIRA, this PR also adds changes to remove the validation on max content length. This is no longer needed because cosmos recently started streaming the data without buffering (due to causing AR timeouts on slow networks).

@takirala takirala requested review from alenkacz and kvish February 1, 2019 14:16
Copy link
Copy Markdown
Contributor
@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

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

The reasoning behind this change makes sense so 👍

@takirala takirala merged commit 27ca075 into master Feb 1, 2019
@takirala takirala deleted the tga/resource-proxy-handler-encoding-bug branch February 1, 2019 16:54
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.

2 participants

0