Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

oracleobjectstorage: encode carriage returns and line feeds

tomasznid81e8d7f54a8
diff --git a/backend/oracleobjectstorage/options.go b/backend/oracleobjectstorage/options.go
index a1301ab10..1de0c3786 100644
--- a/backend/oracleobjectstorage/options.go
+++ b/backend/oracleobjectstorage/options.go
@@ -257,7 +257,8 @@ to start uploading.`,
// so that OSS keys are always valid file names
Default: encoder.EncodeInvalidUtf8 |
encoder.EncodeSlash |
- encoder.EncodeDot,
+ encoder.EncodeDot |
+ encoder.EncodeCrLf,
}, {
Name: "leave_parts_on_error",
Help: `If true avoid calling abort upload on a failure, leaving all successfully uploaded parts for manual recovery.
diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yaml
index f403b4dae..6f6cd07e8 100644
--- a/fstest/test_all/config.yaml
+++ b/fstest/test_all/config.yaml
@@ -644,12 +644,6 @@ backends:
remote: "TestOracleObjectStorage:"
fastlist: true
ignore:
- - TestIntegration/FsMkdir/FsEncoding/control_chars
- - TestIntegration/FsMkdir/FsEncoding/leading_CR
- - TestIntegration/FsMkdir/FsEncoding/leading_LF
- - TestIntegration/FsMkdir/FsEncoding/trailing_CR
- - TestIntegration/FsMkdir/FsEncoding/trailing_LF
- - TestIntegration/FsMkdir/FsEncoding/leading_HT
- TestIntegration/FsMkdir/FsPutFiles/FsPutStream/0
ignoretests:
- cmd/bisync