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 30075bea5b Fix default in deprecated method
30075bea5b is described below

commit 30075bea5b22b064db3a62b097755c6710127abc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 20 12:53:26 2024 +0100

    Fix default in deprecated method
---
 java/org/apache/tomcat/util/http/parser/Cookie.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/http/parser/Cookie.java 
b/java/org/apache/tomcat/util/http/parser/Cookie.java
index cfaabff554..e89272d20c 100644
--- a/java/org/apache/tomcat/util/http/parser/Cookie.java
+++ b/java/org/apache/tomcat/util/http/parser/Cookie.java
@@ -102,7 +102,7 @@ public class Cookie {
      */
     @Deprecated
     public static void parseCookie(byte[] bytes, int offset, int len, 
ServerCookies serverCookies) {
-        parseCookie(bytes, offset, len, serverCookies, NoEqualsCookie.IGNORE);
+        parseCookie(bytes, offset, len, serverCookies, NoEqualsCookie.NAME);
     }
 
 


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

Reply via email to