Commit 24e0708b 24e0708bae743b33704c737520391ba228484009 by Leandro Boscariol

Changed escape to encodeURIComponent for downloading binaries via POST

1 parent 5ed461e8
......@@ -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");
......