Permalink
Browse files

Fixed issue with HTML4 not handling the form encoding correctly on ol…

…der IE versions. Patch contributed by jinxdone.
  • Loading branch information...
1 parent 4944742 commit 9c7af44aa17d10eff17d90a1b28d13c6400a0fbb @spocke spocke committed Sep 24, 2010
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitattributes
  2. +1 −0 changelog.txt
  3. +1 −1 src/javascript/plupload.html4.js
View
@@ -1 +1,2 @@
* crlf=input
+* -text
View
@@ -1,6 +1,7 @@
Version 1.2.x (2010-xx-xx)
Added support for crossdomain loading of the XAP and SWF files and crossdomain upload.
Fixed logic issue with the upload.php example file. Chunking wasn't working correctly.
+ Fixed issue with HTML4 not handling the form encoding correctly on older IE versions. Patch contributed by jinxdone.
Version 1.2.4 (2010-09-08)
Added new BeforeUpload event to make it easier to override settings before a file is uploaded.
Added new automatic usage of FileReference in Flash if it's possible. Contributed by Marcel Jackwerth.
@@ -101,7 +101,7 @@
// Force the form into post and multipart
form.setAttribute('method', 'post');
- form.setAttribute('enctype', 'multipart/form-data');
+ form.setAttribute(form.encoding ? 'encoding' : 'enctype', 'multipart/form-data');
// Append mutlipart parameters
plupload.each(up.settings.multipart_params, function(value, name) {

0 comments on commit 9c7af44

Please sign in to comment.