Hi all -

First time mailing on this list, please let me know what I can improve.

I've run into a case where
org.apache.catalina.connector.Request.getParameter("some_parameter")
no longer results in the parameters getting parsed.

We're on tomcat 9.0.107, using HTTP/2, the `content-length` header is
not being set, the `content-type` header is set to
`application/x-www-form-urlencoded`, and the HTTP method is `POST`.

So I think what happens is in
https://github.com/apache/tomcat/blob/9.0.x/java/org/apache/catalina/connector/Request.java#L3094
the `len` variable is set to -1, and we fall out in the `if` statement
below it.

Is this expected behavior?

Thanks,
Nelson Page

-- 
This email, including its contents and any attachment(s), may contain 
confidential and/or proprietary information and is solely for the review 
and use of the intended recipient(s). If you have received this email in 
error, please notify the sender and permanently delete this email, its 
content, and any attachment(s).  Any disclosure, copying, or taking of any 
action in reliance on an email received in error is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to