mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-12 02:36:39 +02:00
Resolve JSONException when supplying --get-O365-drive-id option with a string containing spaces (#305)
* JSONException when supplying --get-O365-drive-id option with a string containing spaces
This commit is contained in:
parent
0193f37fed
commit
1060d85118
|
@ -1757,7 +1757,7 @@ final class SyncEngine
|
|||
|
||||
string site_id;
|
||||
string drive_id;
|
||||
JSONValue siteQuery = onedrive.o365SiteSearch(o365SharedLibraryName);
|
||||
JSONValue siteQuery = onedrive.o365SiteSearch(encodeComponent(o365SharedLibraryName));
|
||||
|
||||
foreach (searchResult; siteQuery["value"].array) {
|
||||
// Need an 'exclusive' match here with o365SharedLibraryName as entered
|
||||
|
|
Loading…
Reference in a new issue