Status: New
Owner: ----
New issue 599 by [email protected]: invalid pathinfo computation in
ServletDefinition
http://code.google.com/p/google-guice/issues/detail?id=599
When a path end up with ";" params (for example,
http://server/servlet/path;jsessionid=xxxxxx),
the getPathInfo method in the doService method
return "/path;jsessionid=xxxxxx" instead of "/path".
It's not consistent with the way jetty (for example) treat this particular
case), jetty discard the ";jsessionid=xxxxxx" part when computing the
pathinfo.
This difference leads to a problem when using the blazeds
MessageBrokerServlet managed by servlet extension, because it using
servletpath+pathinfo to retrieve the amf endpoint, and thus it don't
retrieve the endpoint.
How To reproduce :
- configure a MessageBrokerServlet in a ServletModule
(serving "/messagebroker/*" for example)
- configure an endpoint in the blazeds side (for
example "http://{server.name}:{server.port}/{context.root}/messagebroker/amf/"
- now start the server and try to access endpoint :
* http://server/context/messagebroker/amf return a HTTP status 200
* http://server/context/messagebroker/amf;jsessionid=112121 return a HTTP
status 404
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.