On 14/10/2021 09:22, 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 70d4e9b  Do not add a trailing / to a request URI during 
canonicalization.
70d4e9b is described below

commit 70d4e9ba0a81a1d782fa50695a18d23f2f1f179c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Oct 13 18:28:45 2021 +0100

     Do not add a trailing / to a request URI during canonicalization.
This is part of the clarification in Servet 6.0 of the expected
     canonicalization Servlet containers are expected to apply to request
     URIs.

All,

This is the first of several clarifications. The question is do we want to back-port this change to earlier versions?

My current thinking is that we should as the current behaviour looks wrong. We add a trailing "/" to simplify the normalization algorithm but then don't remove it after we have completed normalization.

Thoughts?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to