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 2efd4a1662 One further method refactoring error
2efd4a1662 is described below

commit 2efd4a16620ec34b82992ac8026e491c5ccf2196
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Oct 10 09:16:07 2025 +0100

    One further method refactoring error
---
 java/org/apache/coyote/ajp/Constants.java | 2 +-
 webapps/docs/changelog.xml                | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/coyote/ajp/Constants.java 
b/java/org/apache/coyote/ajp/Constants.java
index 6549a226a8..ca93f3797f 100644
--- a/java/org/apache/coyote/ajp/Constants.java
+++ b/java/org/apache/coyote/ajp/Constants.java
@@ -105,7 +105,7 @@ public final class Constants {
 
     // Translates integer codes to names of HTTP methods
     private static final String[] methodTransArray =
-            { Method.OPTIONS, Method.GET, Method.HEAD, Method.POST, 
Method.PUT, Method.DELETE, Method.TRACE, Method.TRACE, Method.PROPPATCH, 
Method.MKCOL, Method.COPY,
+            { Method.OPTIONS, Method.GET, Method.HEAD, Method.POST, 
Method.PUT, Method.DELETE, Method.TRACE, Method.PROPFIND, Method.PROPPATCH, 
Method.MKCOL, Method.COPY,
                     Method.MOVE, Method.LOCK, Method.UNLOCK, "ACL", "REPORT", 
"VERSION-CONTROL", "CHECKIN", "CHECKOUT", "UNCHECKOUT",
                     "SEARCH", "MKWORKSPACE", "UPDATE", "LABEL", "MERGE", 
"BASELINE-CONTROL", "MKACTIVITY" };
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index c5c61e18d9..b75a62e6ec 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -242,9 +242,9 @@
         generating session cookie. Patch submitted by Marc Pynaert. (remm)
       </fix>
       <fix>
-        <bug>69848</bug>: Fix copy/paste error that meant DELETE requests
-        received via the AJP connector were processed as OPTIONS requests.
-        (markt)
+        <bug>69848</bug>: Fix copy/paste errors that meant DELETE requests
+        received via the AJP connector were processed as OPTIONS requests and
+        PROPFIND requests were processed as TRACE. (markt)
       </fix>
     </changelog>
   </subsection>


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

Reply via email to