Author: mgrigorov
Date: Tue May 3 17:33:37 2011
New Revision: 1099147
URL: http://svn.apache.org/viewvc?rev=1099147&view=rev
Log:
WICKET-3663 accept-encoding is not a valid attribute for form elements
Replace accept-encoding with accept-charset.
Modified:
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
Modified:
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java?rev=1099147&r1=1099146&r2=1099147&view=diff
==============================================================================
---
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
(original)
+++
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
Tue May 3 17:33:37 2011
@@ -1441,7 +1441,7 @@ public class Form<T> extends WebMarkupCo
// see
//
http://stackoverflow.com/questions/546365/utf-8-text-is-garbled-when-form-is-posted-as-multipart-form-data
//
- tag.put("accept-encoding",
getApplication().getRequestCycleSettings()
+ tag.put("accept-charset",
getApplication().getRequestCycleSettings()
.getResponseRequestEncoding());
}
else