On 22/06/2023 19:55, ma...@apache.org wrote:
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 944951302e Add control of byte decoding errors to ByteChunk and
StringCache
944951302e is described below
commit 944951302e2f478879411dbff353f5818ad44121
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 14 12:25:21 2023 +0100
Add control of byte decoding errors to ByteChunk and StringCache
Hi all,
This is the first commit in a series that I am working on that will
implement a change for Servlet 6.1 that allows getParameter() and
friends to throw exceptions for invalid parameters. The default for
Tomcat 11 will be to throw an exception.
The spec change also allows containers to provide container specific
configuration to control this and what I am working on is a
ParameterErrorHandlingConfiguration class that is similar to the cookie
configuration that allows individual control for each of the different
errors.
Because this change touches ByteChunk and StringCache which are
fundamental low-level classes in Tomcat's request handling I wanted to
give folks plenty of time to review these changes before I backport.
I plan to back-port the parameter changes as well, but with different
defaults so exceptions are not thrown.
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org