Mantis - Resin
Viewing Issue Advanced Details
2825 major always 08-05-08 19:01 08-11-08 11:52
closed 3.1.6  
none 3.2.1  
0002825: mod_caucho discards query parameter if url contains jsessionid
If I request the following url

GET /index.html;jsessionid=C5B28F6681892F52D9AB608B7EFB0BF1?foo=bar
Host: localhost

mod_caucho returns a 301 with a "Location" header value of "http://localhost:81/index.html". [^]

HTTP/1.1 301 Moved Permanently
Date: Wed, 06 Aug 2008 01:55:12 GMT
Server: Apache/2.2.8 (Unix) DAV/2 Resin/3.0.25
Location: http://localhost:81/index.html [^]
Content-Length: 238
Content-Type: text/html; charset=iso-8859-1

It might be okay to remove the jsessionid path parameter but it should add the query parameters to the redirect url as well. In our specific case it reacts with a 301 response to request for any virtual host even if mod_caucho has not been configured at all, which is not okay.

There are no notes attached to this issue.