tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Gebers <>
Subject [PATCH] Cookie, Cookie2 Header fix for mod_jk
Date Wed, 07 Dec 2005 17:58:22 GMT

newer versions of opera send the Cookie2-header along with the 
Cookie-header which looks somewhat like this:

GET /app/index2.html HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) 
Opera 8.51
Host: localhost:11620
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, 
image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://localhost:11620/
Cookie: myCookie=12345
Cookie2: $Version=1
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers

I was wondering why "myCookie" did not make it back to our webapp (opera 
only). After some hours of debugging i found the bug in mod_jk. The 
Cookie2-header is treated like the Cookie-header, and with the example 
given no cookies were passed to the webapp. The patch resolved the 
problem for me. Could somebody please commit the patch.


View raw message