mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-03 14:32:24 +02:00
Remove 'Icon' check as no longer valid (#1038)
* Remove 'Icon' check as no longer listed as an invalid file or folder names in OneDrive API documentation
This commit is contained in:
parent
65202fdb04
commit
fa3eb8bc1a
|
@ -195,7 +195,6 @@ bool isValidName(string path)
|
||||||
matched = m.empty;
|
matched = m.empty;
|
||||||
|
|
||||||
// Additional explicit validation checks
|
// Additional explicit validation checks
|
||||||
if (itemName == "Icon") {matched = false;}
|
|
||||||
if (itemName == ".lock") {matched = false;}
|
if (itemName == ".lock") {matched = false;}
|
||||||
if (itemName == "desktop.ini") {matched = false;}
|
if (itemName == "desktop.ini") {matched = false;}
|
||||||
// _vti_ cannot appear anywhere in a file or folder name
|
// _vti_ cannot appear anywhere in a file or folder name
|
||||||
|
|
Loading…
Reference in a new issue