Update sync.d

Update comment - 256 -> 400
This commit is contained in:
abraunegg 2018-05-25 14:17:28 +10:00 committed by GitHub
parent 3381511e19
commit dc4bfb62ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -820,7 +820,7 @@ final class SyncEngine
// https://support.microsoft.com/en-us/help/3125202/restrictions-and-limitations-when-you-sync-files-and-folders
// If the path is greater than allowed characters, then one drive will return a '400 - Bad Request'
// Need to ensure that the URI is encoded before the check is made
// 256 Character Limit for OneDrive Business / Office 365
// 400 Character Limit for OneDrive Business / Office 365
// 430 Character Limit for OneDrive Personal
auto maxPathLength = 0;
if (accountType == "business"){