From 6fcf4dc8ebe431e8b8fddacd42d205622c4aff5c Mon Sep 17 00:00:00 2001 From: Bastien Marsaud Date: Thu, 18 Oct 2018 12:33:05 +0200 Subject: [PATCH] Fix argument double encoding on file download Disable argument encoding in get request --- src/android/com/synconset/cordovahttp/CordovaHttpDownload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/com/synconset/cordovahttp/CordovaHttpDownload.java b/src/android/com/synconset/cordovahttp/CordovaHttpDownload.java index 07aa53f..35e9dc9 100644 --- a/src/android/com/synconset/cordovahttp/CordovaHttpDownload.java +++ b/src/android/com/synconset/cordovahttp/CordovaHttpDownload.java @@ -31,7 +31,7 @@ class CordovaHttpDownload extends CordovaHttp implements Runnable { @Override public void run() { try { - HttpRequest request = HttpRequest.get(this.getUrlString(), this.getParamsMap(), true); + HttpRequest request = HttpRequest.get(this.getUrlString(), this.getParamsMap(), false); this.prepareRequest(request);