On 01/04/2026 16:17, [email protected] 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 a0d8e68eee Avoid various edge cases when setting an invalid c-l via 
[set|add]Header
a0d8e68eee is described below

commit a0d8e68eee9e97c0fd8f12bf540e86143228a994
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Apr 1 16:17:29 2026 +0100

     Avoid various edge cases when setting an invalid c-l via [set|add]Header
Any previous value is always cleared.
     Any invalid new value is ignored.

Thoughts on back-porting this?

It should be safe. Content-Length has been defined as 1*DIGIT since at least RFC 2616 (HTTP/1.1) and probably earlier.

Mark


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

Reply via email to