https://issues.apache.org/bugzilla/show_bug.cgi?id=47324
Summary: sessionsList.jsp uses absolute urls which doesn't work
for Tomcat behind a reverse proxy
Product: Tomcat 6
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Manager application
AssignedTo: [email protected]
ReportedBy: [email protected]
sessionsList.jsp uses getRequestURL() which creates absolute links (with
server:port included) like:
http://localhost:8080/manager/html/sessions?path=/
This is a problem when running Tomcat-Manager-Application behind a reverse
proxy (e.g. apache http server), because outgoing links doesn't work anymore.
Proposed fix is to use getRequestURI instead.
29c29
< String submitUrl =
((HttpServletRequest)pageContext.getRequest()).getRequestURL().append("?path=").append(path).toString();
---
> String submitUrl =
> ((HttpServletRequest)pageContext.getRequest()).getRequestURI() + "?path=" +
> path;
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]