In Domino R5.0.1, the behavior of the following Java servlet methods has changed:
javax.servlet.ServletRequest.getParameter()
javax.servlet.ServletRequest.getParameterNames()
javax.servlet.ServletRequest.getParameterValues()
The behavioral change concerns the scenario where an HTTP POST request contains both a query string and a URL-encoded content body. In Domino R5.0, these methods would return parameters only from the query string; the content body was ignored. In Domino R5.0.1, these methods conform to the more standard handling of this scenario as follows:
1. If a POST request contains an encoded content body, the parameters are always obtained from the body. Any query string is ignored. To access the query string, use the method HttpServletRequest.getQueryString().
2. If a POST request does NOT contain an encoded content body, but has a query string, the parameters are obtained from the query string.
3. If a request does not contain either an encoded content body or a query string, no parameters are returned.