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

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

commit a99c4defc1e36638e6577175249fd8ec77b2e865
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 0d7c2c567e..dfbd7da9a7 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