diff options
author | aunsane <aunsane@gmail.com> | 2018-01-19 23:05:25 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-19 23:05:45 +0300 |
commit | 014d34c71618f7df1fd5768a1dd88afa293578bb (patch) | |
tree | 506f2343adcf67827fab10b7f8fe3d67800f90f0 | |
parent | 887c0ce6c53bcd25472ae5de4124bf56dd0a66f8 (diff) |
CloudFile: fixed #1113
-rw-r--r-- | plugins/CloudFile/src/Services/dropbox_service.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp index 986e9510e7..1eb184ed5d 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.cpp +++ b/plugins/CloudFile/src/Services/dropbox_service.cpp @@ -110,8 +110,7 @@ void CDropboxService::UploadFile(const char *data, size_t size, char *path) { ptrA token(db_get_sa(NULL, GetModule(), "TokenSecret")); BYTE strategy = db_get_b(NULL, MODULE, "ConflictStrategy", OnConflict::REPLACE); - ptrA encodedPath(mir_utf8encode(path)); - DropboxAPI::UploadFileRequest request(token, encodedPath, data, size, (OnConflict)strategy); + DropboxAPI::UploadFileRequest request(token, path, data, size, (OnConflict)strategy); NLHR_PTR response(request.Send(hConnection)); JSONNode root = GetJsonResponse(response); |