Author: andrei_exadel
Date: 2008-07-01 10:09:47 -0400 (Tue, 01 Jul 2008)
New Revision: 9321
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
RF-3837
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
---
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-07-01
13:56:27 UTC (rev 9320)
+++
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-07-01
14:09:47 UTC (rev 9321)
@@ -1168,7 +1168,11 @@
for (var i = 0; i < l; i++) {
var input = inputs[i];
if (input.id != (this.id + ':file')) {
- params = params + '&' + input.name + '=' + input.value;
+ if (input.name == 'javax.faces.ViewState') {
+ params = params + '&' + input.name + '=' +
input.value.replace(/\+/g,"%2B");
+ } else {
+ params = params + '&' + input.name + '=' + input.value;
+ }
}
}
Show replies by date