update file format to 0.2 for blending mode, visibility and alpha lock attributes

This commit is contained in:
2019-01-12 16:08:23 +01:00
parent 6ba29926ef
commit d5b5946b3d
4 changed files with 28 additions and 8 deletions

View File

@@ -128,7 +128,9 @@ void NodeDialogCloud::load_thumbs_thread()
break;
res.clear();
std::string url = "https://panopainter.com/cloud/cloud-info.php?file=" + n;
char* url_escaped = curl_easy_escape(curl, n.c_str(), n.size());
std::string url = std::string("https://panopainter.com/cloud/cloud-info.php?file=") + url_escaped;
delete url_escaped;
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
LOG("%s", url.c_str());
auto err = curl_easy_perform(curl);