Closed ilkinulas closed 3 years ago
Merging #53 (71c0e12) into master (02ffa76) will decrease coverage by
0.04%
. The diff coverage is33.33%
.
@@ Coverage Diff @@
## master #53 +/- ##
==========================================
- Coverage 65.00% 64.96% -0.05%
==========================================
Files 28 28
Lines 2209 2212 +3
==========================================
+ Hits 1436 1437 +1
- Misses 538 539 +1
- Partials 235 236 +1
Impacted Files | Coverage Δ | |
---|---|---|
gofakes3.go | 64.11% <33.33%> (-0.19%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 02ffa76...71c0e12. Read the comment docs.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
3 Code Smells
No Coverage information
0.0% Duplication
Hi @ilkinulas thanks a lot for the contribution! Looks good to go!
According to aws docs
x-amz-copy-source
value must be URL encoded. If source key has special chars, the client should url encode theCopySource
field ofs3.CopyObjectInput
. If source key is not decoded, successive calls toGetObject
with the same key results in404 Not Found
errors.Here is a little background about this PR:
s5cmd
integration tests usegofakes3
. There is an issue about special chars which will be resolved with this PR : https://github.com/peak/s5cmd/pull/280. The implementation in this PR works fine with real s3 service but tests that use gofakes3 fails with 404 errors.