This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 7f6eb5cb5e One further method refactoring error
7f6eb5cb5e is described below
commit 7f6eb5cb5ef50d5ddb18d872faa321412a75e34d
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 | 4 ++--
2 files changed, 3 insertions(+), 3 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 8437e436c0..f56c987688 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -144,9 +144,9 @@
generating session cookie. Patch submitted by Marc Pynaert. (remm)
</fix>
<fix>
- <bug>69848</bug>: Fix copy/paste error in 11.0.12 that meant DELETE
+ <bug>69848</bug>: Fix copy/paste errors in 11.0.12 that meant DELETE
requests received via the AJP connector were processed as OPTIONS
- requests. (markt)
+ 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]