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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new d07e79084f Revert
d07e79084f is described below

commit d07e79084f87e181d0bc9616d04190d09045adcd
Author: remm <[email protected]>
AuthorDate: Tue Oct 7 15:19:32 2025 +0200

    Revert
    
    No support for the attribute in the 9.0 branch.
---
 .../tomcat/util/http/TestCookieProcessorGeneration.java   | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git 
a/test/org/apache/tomcat/util/http/TestCookieProcessorGeneration.java 
b/test/org/apache/tomcat/util/http/TestCookieProcessorGeneration.java
index 136c1100e2..7d698c8aac 100644
--- a/test/org/apache/tomcat/util/http/TestCookieProcessorGeneration.java
+++ b/test/org/apache/tomcat/util/http/TestCookieProcessorGeneration.java
@@ -21,8 +21,6 @@ import javax.servlet.http.Cookie;
 import org.junit.Assert;
 import org.junit.Test;
 
-import org.apache.tomcat.util.descriptor.web.Constants;
-
 public class TestCookieProcessorGeneration {
 
     @Test
@@ -345,19 +343,6 @@ public class TestCookieProcessorGeneration {
         rfc6265.setPartitioned(true);
 
         Assert.assertEquals("foo=bar; Secure; HttpOnly; Partitioned", 
rfc6265.generateHeader(cookie, null));
-
-        rfc6265.setPartitioned(false);
-        cookie.setAttribute(Constants.COOKIE_PARTITIONED_ATTR, "true");
-
-        Assert.assertEquals("foo=bar; Secure; HttpOnly; Partitioned", 
rfc6265.generateHeader(cookie, null));
-
-        cookie.setAttribute(Constants.COOKIE_PARTITIONED_ATTR, "false");
-
-        Assert.assertEquals("foo=bar; Secure; HttpOnly", 
rfc6265.generateHeader(cookie, null));
-
-        cookie.setAttribute(Constants.COOKIE_PARTITIONED_ATTR, "");
-
-        Assert.assertEquals("foo=bar; Secure; HttpOnly", 
rfc6265.generateHeader(cookie, null));
     }
 
 


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

Reply via email to