Skip to content

urlencode s3 copyObject() copysource - #10423

Merged
butonic merged 2 commits into
masterfrom
urlencode_s3_copyobject_copysource
Aug 20, 2014
Merged

butonic merged 2 commits into
masterfrom
urlencode_s3_copyobject_copysource

Conversation

@butonic

@butonic butonic commented Aug 14, 2014

Copy link
Copy Markdown
Contributor

@icewind1991 @DeepDiver1975 @helmutschneider @tomraithel @ctjctj fixes #8325 Internal Server Error when uploading files with umlauts to a mounted storage on S3

@butonic butonic added this to the 2014-sprint-01-current milestone Aug 14, 2014
@butonic butonic self-assigned this Aug 14, 2014
@icewind1991

Copy link
Copy Markdown
Contributor

👍 Code looks good

Would expect the s3 lib to handle that though :/

@th3fallen

Copy link
Copy Markdown
Contributor

👍 looks fine to me

@butonic

butonic commented Aug 14, 2014

Copy link
Copy Markdown
Contributor Author

preparing tests

@helmutschneider

Copy link
Copy Markdown
Contributor

@butonic

butonic commented Aug 14, 2014

Copy link
Copy Markdown
Contributor Author

@helmutschneider thx for the hint. I'll wait for my local tests to fail and update the pr with S3Client::encodeKey()

@scrutinizer-notifier

Copy link
Copy Markdown

A new inspection was created.

@butonic

butonic commented Aug 14, 2014

Copy link
Copy Markdown
Contributor Author

Ok, I tried adding S3Client::encodeKey() to normalizePath, but that basically broke all tests. Maybe because the AWS library correctly encodes the object keys, but not the CopySource. So I now only use encodeKey on the CopySource, which allows all s3 tests to pass.

Oh, and it would be nice to see someone actually testing this ;)

@ghost

ghost commented Aug 14, 2014

Copy link
Copy Markdown

@butonic

butonic commented Aug 15, 2014

Copy link
Copy Markdown
Contributor Author

Jenkins is happy, Travis complains about 9 encryption errors and 2 tar archive failures. @schiesbn @icewind1991 @MorrisJobke are those tests currently broken on travis?

@DeepDiver1975 Can we add a special command to notify jenkins it should retest with external filesystem tests enabled?

@MorrisJobke

Copy link
Copy Markdown
Contributor

@butonic Yes: Travis is a mess :(

@butonic

butonic commented Aug 20, 2014

Copy link
Copy Markdown
Contributor Author

Failing tests unrelated. @karlitschek backport to stable7?

butonic added a commit that referenced this pull request Aug 20, 2014
…ource

urlencode s3 copyObject() copysource
@butonic
butonic merged commit 6c593c6 into master Aug 20, 2014
@butonic
butonic deleted the urlencode_s3_copyobject_copysource branch August 20, 2014 13:49
@andrenarchy

Copy link
Copy Markdown
Contributor

@butonic: I will test it later today on an actually used instance. :)

+1 for backport to stable7.

@karlitschek

Copy link
Copy Markdown
Contributor

Yes. Backport please

@MorrisJobke

Copy link
Copy Markdown
Contributor

stable7 9caff0b a3c6d20

@craigpg craigpg added Type:Bug and removed Type:Bug labels Sep 9, 2014
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internal Server Error when uploading files with umlauts to a mounted storage on S3 [$30 awarded]

10 participants