"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
onedrive: remove % and # from the set of encoded characters (#4909)
Alex Chen78a76b0d2992
diff --git a/backend/onedrive/onedrive.go b/backend/onedrive/onedrive.goindex a98bdb3ce..228b9d7d4 100755--- a/backend/onedrive/onedrive.go+++ b/backend/onedrive/onedrive.go@@ -345,8 +345,6 @@ At the time of writing this only works with OneDrive personal paid accounts.// | (vertical line) -> '|' // FULLWIDTH VERTICAL LINE// ? (question mark) -> '?' // FULLWIDTH QUESTION MARK// * (asterisk) -> '*' // FULLWIDTH ASTERISK- // # (number sign) -> '#' // FULLWIDTH NUMBER SIGN- // % (percent sign) -> '%' // FULLWIDTH PERCENT SIGN//// Folder names cannot begin with a tilde ('~')// List of replaced characters:@@ -371,7 +369,6 @@ At the time of writing this only works with OneDrive personal paid accounts.// https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/addressing-driveitems?view=odsp-graph-online#path-encodingDefault: (encoder.Display |encoder.EncodeBackSlash |- encoder.EncodeHashPercent |encoder.EncodeLeftSpace |encoder.EncodeLeftTilde |encoder.EncodeRightPeriod |diff --git a/docs/content/onedrive.md b/docs/content/onedrive.mdindex ef2d0180b..902c680b9 100644--- a/docs/content/onedrive.md+++ b/docs/content/onedrive.md@@ -163,8 +163,6 @@ the following characters are also replaced:| ? | 0x3F | ? || \ | 0x5C | \ || \| | 0x7C | | |-| # | 0x23 | # |-| % | 0x25 | % |File names can also not end with the following characters.These only get replaced if they are the last character in the name: