Author: markt
Date: Sun Sep 27 17:44:26 2009
New Revision: 819361
URL: http://svn.apache.org/viewvc?rev=819361&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47324
Fix submit IRL when behind a reverse proxy
Patch by Maik Jablonski
Modified:
tomcat/trunk/webapps/manager/sessionsList.jsp
Modified: tomcat/trunk/webapps/manager/sessionsList.jsp
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/sessionsList.jsp?rev=819361&r1=819360&r2=819361&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/sessionsList.jsp (original)
+++ tomcat/trunk/webapps/manager/sessionsList.jsp Sun Sep 27 17:44:26 2009
@@ -26,7 +26,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<% String path = (String) request.getAttribute("path");
- String submitUrl =
((HttpServletRequest)pageContext.getRequest()).getRequestURL().append("?path=").append(path).toString();
+ String submitUrl =
((HttpServletRequest)pageContext.getRequest()).getRequestURI() + "?path=" +
path;
Collection activeSessions = (Collection)
request.getAttribute("activeSessions");
%>
<head>
@@ -36,7 +36,7 @@
<meta http-equiv="expires" content="0"/><!-- 0 is an invalid value and
should be treated as 'now' -->
<meta http-equiv="content-language" content="en"/>
<meta name="author" content="Cedrik LIME"/>
- <meta name="copyright" content="copyright 2005-2007 the Apache Software
Foundation"/>
+ <meta name="copyright" content="copyright 2005-2009 the Apache Software
Foundation"/>
<meta name="robots" content="noindex,nofollow,noarchive"/>
<title>Sessions Administration for <%= path %></title>
</head>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]