Changed escape to encodeURIComponent for downloading binaries via POST
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -314,7 +314,7 @@ | ... | @@ -314,7 +314,7 @@ |
314 | if (typeof data === "object") { | 314 | if (typeof data === "object") { |
315 | var dataList = []; | 315 | var dataList = []; |
316 | for (var k in data) { | 316 | for (var k in data) { |
317 | dataList.push(escape(k) + "=" + escape(data[k].toString())); | 317 | dataList.push(encodeURIComponent(k) + "=" + encodeURIComponent(data[k].toString())); |
318 | } | 318 | } |
319 | dataString = dataList.join('&'); | 319 | dataString = dataList.join('&'); |
320 | this.log("getBinary(): Using request data: '" + dataString + "'", "debug"); | 320 | this.log("getBinary(): Using request data: '" + dataString + "'", "debug"); | ... | ... |
-
Please register or sign in to post a comment