Re: Fixing the way OFBiz deal with character encoding of http requests

2016-09-13 Thread Jacopo Cappellato
Committed in rev. 1760528 Jacopo On Fri, Sep 9, 2016 at 3:33 PM, Jacopo Cappellato < jacopo.cappell...@hotwaxsystems.com> wrote: > In ContextFilter, the character encoding (aka charset) of every http > *request* object is set using the WebAppUtil.setCharacterEncoding(...) > method (see its

Fixing the way OFBiz deal with character encoding of http requests

2016-09-09 Thread Jacopo Cappellato
In ContextFilter, the character encoding (aka charset) of every http *request* object is set using the WebAppUtil.setCharacterEncoding(...) method (see its logic here [*]). It is wrong to override the character encoding if already specified by the http request: in fact it doesn't make any sense