You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/16 18:56:18 UTC

(tomcat) branch 10.1.x updated: web.xml attribute name and internal name are different

This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 17daf80a73 web.xml attribute name and internal name are different
17daf80a73 is described below

commit 17daf80a738d66a8e6cad05c5e32c2db81500ce1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jun 16 19:55:36 2026 +0100

    web.xml attribute name and internal name are different
---
 java/org/apache/tomcat/util/descriptor/web/WebXml.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/descriptor/web/WebXml.java b/java/org/apache/tomcat/util/descriptor/web/WebXml.java
index 231bec45b4..48abe7b934 100644
--- a/java/org/apache/tomcat/util/descriptor/web/WebXml.java
+++ b/java/org/apache/tomcat/util/descriptor/web/WebXml.java
@@ -1598,7 +1598,7 @@ public class WebXml extends XmlEncodingBase implements DocumentProperties.Charse
                             case "domain":
                             case "path":
                             case "comment":
-                            case "http-only":
+                            case "httponly":
                             case "secure":
                             case "max-age":
                                 // NO-OP - handled above


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