Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Grails-Web-Xml 1.5
-
Labels:None
Description
In default web.xml there is charEncodingFilter filter-mapping on the first place. WebXML config places it after hiddenHttpMethod filter. HiddenHttpMethod filter uses getParameter() method before request.setEncoding() method was called. This causes all UTF-8 characters in request parameters are incorrectly handled.
I suppose that this behavior is caused by findFilterMappingNames method in _Events.groovy script (in scripts directory). This method uses Set instead of List, to store filter-mappings.
Fixed by https://github.com/burtbeckwith/grails-webxml/commit/5af1e21740ed19772fc85996ac518ac96308de8d