Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
apa-webcontent-1.3
-
None
-
None
Description
The reverse proxy feature [1] doesn't work when a url is included through RequestDispatcher#include().
For example, the following throws an NPE because request#getPathInfo() returns null.
<jsp:include page="/rproxy/portals/index.html" />
It should have checked request attributes like the following:
javax.servlet.include.request_uri
javax.servlet.include.context_path
javax.servlet.include.servlet_path
javax.servlet.include.path_info
javax.servlet.include.query_string
[1] http://portals.apache.org/applications/webcontent/rproxy.html