Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Implemented
-
Trunk
-
None
-
None
-
Simple Chinese Environment
-
Bug Crush Event - 21/2/2015
Description
When I pop a field value with encoding GBK, I get wrong string, I check the org.ofbiz.webapp.event.ServiceEventHandler.java, find that when pop field value from multipart/form-data form, we didn't take care of the char encoding, which like following:
multiPartMap.put(fieldName, item.getString(request.getCharacterEncoding()));
And now I change it like following:
try
catch (UnsupportedEncodingException e)
{ multiPartMap.put(fieldName, item.getString()); }Attachments
Issue Links
- is cloned by
-
OFBIZ-1072 encoding bug in ServiceEventHandler
- Closed