projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ba1c685
)
Fix #5997 - force post request on downloads
author
Alan Knowles
<alan@roojs.com>
Thu, 15 Aug 2019 06:05:03 +0000
(14:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 15 Aug 2019 06:05:03 +0000
(14:05 +0800)
Pman.Download.js
patch
|
blob
|
history
diff --git
a/Pman.Download.js
b/Pman.Download.js
index
124dcf1
..
2f16b24
100644
(file)
--- a/
Pman.Download.js
+++ b/
Pman.Download.js
@@
-110,7
+110,8
@@
Pman.Download = function(cfg)
// });
// }
- Roo.log(this.params);
+ //Roo.log(this.params);
+ this.params._get = 1; // always do a post request, with _get passed
for(var i in this.params) {
this.form.append(i, this.params[i]);
/*
@@
-128,7
+129,8
@@
Pman.Download = function(cfg)
}
var req = new XMLHttpRequest();
req.responseType = 'blob';
- req.open(this.method, this.url);
+
+ req.open('POST', this.url);
var _t = this;
req.onload = function( ev )