https://issues.apache.org/bugzilla/show_bug.cgi?id=39740

--- Comment #9 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-02-09 
00:58:22 EST ---
I think it does not make sense to parse those in the body, as mime-type
"application/x-www-form-urlencoded" as defined by HTML spec explicitly defines
'&' as separators.

Parsing the query string and adding parameter could be done in a Valve.

There is Request#addParameter(String, String[]) that allows to add parameters,
though it must be called before any call to Request#getParameterMap(), because
such call will populate Request#patameterMap, effectively caching it.

Finally, it can be done in a Filter, wrapping the original HttpServletRequest.

I think that this feature does not need to be enabled by default.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to