summaryrefslogtreecommitdiff
path: root/plugins/CloudFile
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-01-19 23:05:25 +0300
committeraunsane <aunsane@gmail.com>2018-01-19 23:05:45 +0300
commit014d34c71618f7df1fd5768a1dd88afa293578bb (patch)
tree506f2343adcf67827fab10b7f8fe3d67800f90f0 /plugins/CloudFile
parent887c0ce6c53bcd25472ae5de4124bf56dd0a66f8 (diff)
CloudFile: fixed #1113
Diffstat (limited to 'plugins/CloudFile')
-rw-r--r--plugins/CloudFile/src/Services/dropbox_service.cpp3
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);