Commit 37d27479 37d27479142cabbfd25bee7bcfa197c7d3e638e9 by Nicolas Perriault

Merge pull request #210 from alfetopito/master

Encoding binary file download POST parameters
2 parents 27ce6e3d 24e0708b
......@@ -314,7 +314,7 @@
if (typeof data === "object") {
var dataList = [];
for (var k in data) {
dataList.push(escape(k) + "=" + escape(data[k].toString()));
dataList.push(encodeURIComponent(k) + "=" + encodeURIComponent(data[k].toString()));
}
dataString = dataList.join('&');
this.log("getBinary(): Using request data: '" + dataString + "'", "debug");
......