-
Bug
-
Resolution: Done
-
Major
-
7.4.2.GA
-
False
-
None
-
False
-
-
-
-
-
-
+
-
When a client sends a request with some query parameters which is empty key/value unexpectedly like the following:
http://localhost/example/test.jsp?&foo1=bar1&foo2=bar2
For the above request, ServletRequest#getParameterNames() should return foo1 and foo2.
However, when the request comes through the AJP protocol, URLUtils' QueryStringParser#parse(), which is called from AjpRequestParser, adds an empty key/value param to HttpServerExchange in addition to foo1 and foo2. So, ServletRequest#getParameterNames() returns the different result.
It appears that HttpRequestParser ignores such empty key/value query parameter, so it looks like AJP listener specific issue.
- is incorporated by
-
JBEAP-23045 (7.4.z) Upgrade Undertow from 2.2.13.SP2-redhat-00001 to 2.2.16.Final-redhat-0001
- Closed
- is related to
-
UNDERTOW-2015 URLUtils QueryStringParser#parse() should not add a query parameter to HttpServerExchange when parameter name and value are empty
- Resolved