mirror of
https://github.com/rclone/rclone.git
synced 2025-05-02 06:34:33 +02:00
onedrive: remove % and # from the set of encoded characters (#4909)
onedrive: remove % and # from the set of encoded characters This fixes #4700, fixes #4184, fixes #2920.
This commit is contained in:
parent
e775328523
commit
78a76b0d29
@ -345,8 +345,6 @@ At the time of writing this only works with OneDrive personal paid accounts.
|
|||||||
// | (vertical line) -> '|' // FULLWIDTH VERTICAL LINE
|
// | (vertical line) -> '|' // FULLWIDTH VERTICAL LINE
|
||||||
// ? (question mark) -> '?' // FULLWIDTH QUESTION MARK
|
// ? (question mark) -> '?' // FULLWIDTH QUESTION MARK
|
||||||
// * (asterisk) -> '*' // FULLWIDTH ASTERISK
|
// * (asterisk) -> '*' // FULLWIDTH ASTERISK
|
||||||
// # (number sign) -> '#' // FULLWIDTH NUMBER SIGN
|
|
||||||
// % (percent sign) -> '%' // FULLWIDTH PERCENT SIGN
|
|
||||||
//
|
//
|
||||||
// Folder names cannot begin with a tilde ('~')
|
// Folder names cannot begin with a tilde ('~')
|
||||||
// List of replaced characters:
|
// 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-encoding
|
// https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/addressing-driveitems?view=odsp-graph-online#path-encoding
|
||||||
Default: (encoder.Display |
|
Default: (encoder.Display |
|
||||||
encoder.EncodeBackSlash |
|
encoder.EncodeBackSlash |
|
||||||
encoder.EncodeHashPercent |
|
|
||||||
encoder.EncodeLeftSpace |
|
encoder.EncodeLeftSpace |
|
||||||
encoder.EncodeLeftTilde |
|
encoder.EncodeLeftTilde |
|
||||||
encoder.EncodeRightPeriod |
|
encoder.EncodeRightPeriod |
|
||||||
|
@ -163,8 +163,6 @@ the following characters are also replaced:
|
|||||||
| ? | 0x3F | ? |
|
| ? | 0x3F | ? |
|
||||||
| \ | 0x5C | \ |
|
| \ | 0x5C | \ |
|
||||||
| \| | 0x7C | | |
|
| \| | 0x7C | | |
|
||||||
| # | 0x23 | # |
|
|
||||||
| % | 0x25 | % |
|
|
||||||
|
|
||||||
File names can also not end with the following characters.
|
File names can also not end with the following characters.
|
||||||
These only get replaced if they are the last character in the name:
|
These only get replaced if they are the last character in the name:
|
||||||
|
Loading…
Reference in New Issue
Block a user