forked from TrueCloudLab/rclone
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
2 changed files with 0 additions and 5 deletions
|
@ -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-encoding
|
||||
Default: (encoder.Display |
|
||||
encoder.EncodeBackSlash |
|
||||
encoder.EncodeHashPercent |
|
||||
encoder.EncodeLeftSpace |
|
||||
encoder.EncodeLeftTilde |
|
||||
encoder.EncodeRightPeriod |
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue