Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.7
-
None
-
Operating System: other
Platform: Other
-
36967
Description
Even if container and form encoding are the same, String is still copied. It
would be nice to avoid this performance penalty by adding a check in
HttpRequestClass.decode().
Background: e use servlet filter which sets characterEncoding of
ServletHttpRequest in front of cocoon, so form re-encoding by cocoon is not
needed. Most natural way to skip it would be to set same default encodings in
Cocoon servlet parameters.
would be nice to avoid this performance penalty by adding a check in
HttpRequestClass.decode().
Background: e use servlet filter which sets characterEncoding of
ServletHttpRequest in front of cocoon, so form re-encoding by cocoon is not
needed. Most natural way to skip it would be to set same default encodings in
Cocoon servlet parameters.