You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/12/17 21:57:46 UTC

svn commit: r1720652 - in /tomcat/trunk/webapps: docs/changelog.xml manager/WEB-INF/web.xml manager/index.jsp

Author: markt
Date: Thu Dec 17 20:57:45 2015
New Revision: 1720652

URL: http://svn.apache.org/viewvc?rev=1720652&view=rev
Log:
Don't create session unnecessarily in the Manager application.

Modified:
    tomcat/trunk/webapps/docs/changelog.xml
    tomcat/trunk/webapps/manager/WEB-INF/web.xml
    tomcat/trunk/webapps/manager/index.jsp

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1720652&r1=1720651&r2=1720652&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Dec 17 20:57:45 2015
@@ -244,6 +244,9 @@
       <fix>
         Correct some typos in the JNDI resources How-To. (markt)
       </fix>
+      <fix>
+        Don't create session unnecessarily in the Manager application. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Tribes">

Modified: tomcat/trunk/webapps/manager/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/WEB-INF/web.xml?rev=1720652&r1=1720651&r2=1720652&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/WEB-INF/web.xml (original)
+++ tomcat/trunk/webapps/manager/WEB-INF/web.xml Thu Dec 17 20:57:45 2015
@@ -115,7 +115,6 @@
   <filter-mapping>
     <filter-name>CSRF</filter-name>
     <servlet-name>HTMLManager</servlet-name>
-    <servlet-name>jsp</servlet-name>
   </filter-mapping>
 
   <!-- Define a Security Constraint on this Application -->

Modified: tomcat/trunk/webapps/manager/index.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/index.jsp?rev=1720652&r1=1720651&r2=1720652&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/index.jsp (original)
+++ tomcat/trunk/webapps/manager/index.jsp Thu Dec 17 20:57:45 2015
@@ -14,5 +14,5 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
-<% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() +
-        "/html")); %>
\ No newline at end of file
+<%@ page session="false" %>
+<% response.sendRedirect(request.getContextPath() + "/html"); %>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org