summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-30 09:44:28 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-30 09:44:28 +0000
commitfbd5e74fa034e73db4005458d2e4c85c747d5785 (patch)
tree8efe9e9459510da73c93048930ea2981d94b7629
parent9720be10a00d9716fcb4dd117ddfa3e8f13ff6d4 (diff)
- Make sure upload form uses POST method
git-svn-id: https://svn.roundcube.net/trunk@4893 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index f2744b7c0..efd1cc776 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -5619,6 +5619,7 @@ function rcube_webmail()
form.target = frame_name;
form.action = this.url(action, { _id:this.env.compose_id||'', _uploadid:ts });
+ form.setAttribute('method', 'POST');
form.setAttribute('enctype', 'multipart/form-data');
form.submit();