mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-17 05:06:17 +02:00
* Revert #1343 as OneDrive API is now fixed in relation to handling '%' within filenames
This commit is contained in:
parent
1203aebeb7
commit
94cc6ee3d6
|
@ -205,7 +205,7 @@ bool isValidName(string path)
|
|||
// Leading whitespace and trailing whitespace/dot
|
||||
`^\s.*|^.*[\s\.]$|` ~
|
||||
// Invalid characters
|
||||
`.*[<>:"\|\?*/\\%].*|` ~
|
||||
`.*[<>:"\|\?*/\\].*|` ~
|
||||
// Reserved device name and trailing .~
|
||||
`(?:^CON|^PRN|^AUX|^NUL|^COM[0-9]|^LPT[0-9])(?:[.].+)?$`
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue