[logback-dev] [Bug 110] AccessEvent is missing getters for RequestParameters.

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Oct 25 11:38:56 CEST 2007


http://bugzilla.qos.ch/show_bug.cgi?id=110





------- Comment #2 from joern at huxhorn.de  2007-10-25 11:38 -------
Created an attachment (id=13)
 --> (http://bugzilla.qos.ch/attachment.cgi?id=13&action=view)
requestParameterMap changed from Map<String,Object> to Map<String,String[]>.

The current implementation of buildRequestParameterMap() is ignoring multiple
parameter values!

Instead of using httpRequest.getParameter it should either use
httpRequest.getParameterValues or use httpRequest.getParameterMap() as I do in
my patch.
The type of requestParameterMap should IMHO be changed to Map<String,String[]>
for consistency reasons. It's not used anywhere so this change shouldn't be a
big problem.

This patch does also include the changes of the
http://bugzilla.qos.ch/show_bug.cgi?id=109 patch.


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the logback-dev mailing list