[Svn] r4893 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Thu Jun 30 11:44:28 CEST 2011


Author: alec
Date: 2011-06-30 04:44:28 -0500 (Thu, 30 Jun 2011)
New Revision: 4893

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Make sure upload form uses POST method


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2011-06-29 17:15:08 UTC (rev 4892)
+++ trunk/roundcubemail/program/js/app.js	2011-06-30 09:44:28 UTC (rev 4893)
@@ -5619,6 +5619,7 @@
 
     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();
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list