On 27/01/2024 14:38, Dan McLaughlin wrote:
Hey Mark,

If you see a bug report, then that will mean I was able to reproduce it.  I
see different behaviors in our local docker environment. Still, it's
nowhere as complex as our production environment--where everything is
clustered and behind load balancers, etc...  It probably would be easier
for me to reproduce in our pre-prod environment and attach a debugger to
see where the / is coming from.

I glanced at the code, and SessionConfig is the only place setting the
CookiePath to / might happen.  Would you agree?

} else {
     // Only handle special case of ROOT context where cookies require a
     // path of '/' but the servlet spec uses an empty string
     if (contextPath.length() == 0) {
         contextPath = "/";
     }

There are other places such as the RewriteValve. I think debugging is your best option here.

Mark

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

Reply via email to