https://issues.apache.org/bugzilla/show_bug.cgi?id=54124
Priority: P2
Bug ID: 54124
Assignee: [email protected]
Summary: wrong javax.servlet.async.request_uri information and
javax.servlet.async.path_info is missing
Severity: normal
Classification: Unclassified
OS: Linux
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: trunk
Component: Catalina
Product: Tomcat 7
As it is clearly shown that
org.apache.catalina.core.AsyncContextImpl.dispatch(ServletContext, String)
@Override
public void dispatch(ServletContext context, String path) {
if (log.isDebugEnabled()) {
logDebug("dispatch ");
}
check();
if (request.getAttribute(ASYNC_REQUEST_URI)==null) {
request.setAttribute(ASYNC_REQUEST_URI,
request.getRequestURI()+"?"+request.getQueryString());
request.setAttribute(ASYNC_CONTEXT_PATH, request.getContextPath());
request.setAttribute(ASYNC_SERVLET_PATH, request.getServletPath());
request.setAttribute(ASYNC_QUERY_STRING, request.getQueryString());
}
....
}
the value of ASYNC_REQUEST_URI is not the same as request.getRequestURI().
They must be equal to each other as defined by Servlet 3.0, 9.7.2
Dispatched Request Parameters.
And ASYNC_PATH_INFO is missing.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]