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

rgw: ignore fields placed after "file" in S3's browser uploads. #11066

Closed
wants to merge 1 commit into from

Conversation

rzarzynski
Copy link
Contributor

Fixes: http://tracker.ceph.com/issues/17273
Signed-off-by: Radoslaw Zarzynski rzarzynski@mirantis.com

@mattbenjamin
Copy link
Contributor

mattbenjamin commented Nov 19, 2016

@rzarzynski this looks still relevant, but the commit is also in 11179? Is this needed separately?

@rzarzynski
Copy link
Contributor Author

@mattbenjamin: the commit is present also in #11179 as a dependency. I still keep this PR open to allow merging the fix separately (FormPost is quite big).

@oritwas
Copy link
Member

oritwas commented Apr 3, 2017

@rzarzynski please rebase

@rzarzynski
Copy link
Contributor Author

@oritwas: rebased. The conflict was trivial and related to the override clean-up.


if (boundary) {
data_pending = false;

if (!done) { /* reached end of data, let's drain the rest of the params */
Copy link
Member

@oritwas oritwas Apr 4, 2017

Choose a reason for hiding this comment

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

I agree we should not parse the arguments but I think we should read all the data.

@rzarzynski
Copy link
Contributor Author

@oritwas: just addressed the data draining, rebased to fresh master and positively verified with s3-tests.

Fixes: http://tracker.ceph.com/issues/17273
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
@rzarzynski
Copy link
Contributor Author

Fixed an obvious thinko. The patch was positively verified together with FormPost-related commits in PR #11179.

@rzarzynski
Copy link
Contributor Author

jenkins test this please

@rzarzynski
Copy link
Contributor Author

jenkins test this please (unrelated test failure)

@rzarzynski
Copy link
Contributor Author

jenkins test this please (due to: Agent went offline during the build)

@oritwas
Copy link
Member

oritwas commented Apr 9, 2017

jenkins test this please

@rzarzynski
Copy link
Contributor Author

The commit has been merged as a part of #11179. Closing.

@rzarzynski rzarzynski closed this May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants