You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/11/28 13:25:12 UTC
[Bug 66366] New: org.apache.tomcat.util.http.LegacyCookieProcessor missing in Tomcat 10?
https://bz.apache.org/bugzilla/show_bug.cgi?id=66366
Bug ID: 66366
Summary: org.apache.tomcat.util.http.LegacyCookieProcessor
missing in Tomcat 10?
Product: Tomcat 10
Version: 10.1.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Servlet
Assignee: dev@tomcat.apache.org
Reporter: vojtech@knyt.tl
Target Milestone: ------
In my `tomcat/conf/context.xml` I have following:
```
<CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor"
sameSiteCookies="none"/>
```
After migration to Tomcat 10 (I am using `tomcat:10.1.2-jdk17-temurin` docker
image), I am getting:
```
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.util.http.LegacyCookieProcessor
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:102)
at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1264)
... 58 more
```
However it seems the `LegacyCookieProcessor` is still supported:
https://tomcat.apache.org/tomcat-10.0-doc/api/org/apache/tomcat/util/http/LegacyCookieProcessor.html
Is there something that I am missing?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66366] org.apache.tomcat.util.http.LegacyCookieProcessor missing in Tomcat 10?
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66366
--- Comment #2 from vojtech@knyt.tl ---
Okay, thanks.
Is there a possibility to implement a custom cookie processor? Is there a way
to still use the Legacy (or any other) one as a "plugin"?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66366] org.apache.tomcat.util.http.LegacyCookieProcessor missing in Tomcat 10?
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66366
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
(In reply to vojtech from comment #2)
> Is there a possibility to implement a custom cookie processor? Is there a
> way to still use the Legacy (or any other) one as a "plugin"?
Those are all questions for the users mailing list
https://tomcat.apache.org/lists.html#tomcat-users
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66366] org.apache.tomcat.util.http.LegacyCookieProcessor missing in Tomcat 10?
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66366
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
10.0.x != 10.1.x
Servlet 6.0 requires RFC 6265 compliance.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org