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

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

Merged
merged 3 commits into from
Feb 1, 2019

Conversation

takirala
Copy link
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).

Copy link
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