[jboss-as7-dev] Quoted paths in Set-Cookie header
Jim Crossley
jcrossley at redhat.com
Thu Jul 14 00:07:55 EDT 2011
I'm having a real dick of a time verifying that session replication
works in AS7. I think my problems may stem from cookies not being
passed correctly, because the Set-Cookie header includes Path="/"
instead of Path=/.
I'm testing with curl. I'm testing an app that works fine on AS6, which
returns a header like this:
Set-Cookie: JSESSIONID=0669E4BF117ED01784254238ED00E492; Path=/
When I deploy the app on AS7, I get this:
Set-Cookie: JSESSIONID=16S0e9hUZkQDpJCqxeBrBTLQ; Version=1; Path="/"
Which seems to prevent curl from passing the cookie back in subsequent
requests.
Interestingly, I can manually edit curl's cookie-store file to remove
the quotes, and subsequent requests work correctly.
Is this some sort of strict tomcat request handling behavior that I can
turn off? Anyone else seen this?
Thanks,
Jim
More information about the jboss-as7-dev
mailing list