Use Rfc6265CookieProcessor instead of LegacyCookieProcessor

Proprietary

Replace the legacy Tomcat LegacyCookieProcessor with the RFC 6265 compliant Rfc6265CookieProcessor, both in Java references and in the <CookieProcessor className="…"/> attribute of Tomcat configuration files such as context.xml and server.xml. Rfc6265CookieProcessor has been the default cookie processor since Tomcat 8.5; LegacyCookieProcessor exists only for backwards compatibility. RFC 6265 parsing is stricter than the legacy behavior, so review applications relying on legacy cookie handling before applying this recipe.

io.moderne.java.spring.boot3.UseRfc6265CookieProcessor
mod run . --recipe=io.moderne.java.spring.boot3.UseRfc6265CookieProcessor

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.