diff options
author | aunsane <aunsane@gmail.com> | 2018-04-26 13:20:48 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-04-26 13:20:48 +0300 |
commit | 6bb961489e3cebf19d32c83df5126fe4ea73e37a (patch) | |
tree | 5ea585d454cffb61b2c113c1c681f575cff724bf /plugins/CloudFile/src/Services/yandex_api.h | |
parent | 5d651e838c864347fc6a6276d637e4008dafd764 (diff) |
CloudFile: fix for #1298
Diffstat (limited to 'plugins/CloudFile/src/Services/yandex_api.h')
-rw-r--r-- | plugins/CloudFile/src/Services/yandex_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/yandex_api.h b/plugins/CloudFile/src/Services/yandex_api.h index 91db0290a1..ac99cb0177 100644 --- a/plugins/CloudFile/src/Services/yandex_api.h +++ b/plugins/CloudFile/src/Services/yandex_api.h @@ -99,7 +99,7 @@ namespace YandexAPI HttpRequest(REQUEST_PUT, YADISK_API) { AddOAuthHeader(token); - AddUrlParameter("path=app:%s", ptrA(mir_urlEncode(path))); + AddUrlParameterWithEncode("path", "app:%s", path); AddUrlParameter("fields=href"); } }; |