This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new b07a02738e HTTP methods should be upper case
b07a02738e is described below

commit b07a02738ea176f021f7a3f51121ad255c6b272f
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 11 12:00:38 2025 +0100

    HTTP methods should be upper case
---
 webapps/manager/WEB-INF/jsp/sessionDetail.jsp | 6 +++---
 webapps/manager/WEB-INF/jsp/sessionsList.jsp  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/webapps/manager/WEB-INF/jsp/sessionDetail.jsp 
b/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
index 90b2998ddd..f8ab756fd9 100644
--- a/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
@@ -102,7 +102,7 @@
      </tr>
    </table>
 
-   <form method="post" action="<%= submitUrl %>">
+   <form method="POST" action="<%= submitUrl %>">
      <div>
        <input type="hidden" name="sessionId" value="<%= currentSessionId %>" />
        <input type="hidden" name="action" value="sessionDetail" />
@@ -149,7 +149,7 @@
    %>
            <tr>
                <td align="center">
-                   <form method="post" action="<%= submitUrl %>">
+                   <form method="POST" action="<%= submitUrl %>">
                        <div>
                            <input type="hidden" name="action" 
value="removeSessionAttribute" />
                            <input type="hidden" name="sessionId" value="<%= 
currentSessionId %>" />
@@ -175,7 +175,7 @@
    </table>
 <% } // endif%>
 
-<form method="post" action="<%=submitUrl%>">
+<form method="POST" action="<%=submitUrl%>">
   <p style="text-align: center;">
     <input type="submit" value="Return to session list" />
   </p>
diff --git a/webapps/manager/WEB-INF/jsp/sessionsList.jsp 
b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
index d9ad55be2c..709709eed3 100644
--- a/webapps/manager/WEB-INF/jsp/sessionsList.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
@@ -60,7 +60,7 @@
 <div class="error"><%= JspHelper.escapeXml(request.getAttribute("error")) 
%></div>
 <div class="message"><%= JspHelper.escapeXml(request.getAttribute("message")) 
%></div>
 
-<form action="<%= submitUrl %>" method="post" id="sessionsForm">
+<form action="<%= submitUrl %>" method="POST" id="sessionsForm">
     <fieldset><legend>Active HttpSessions information</legend>
         <input type="hidden" name="action" id="sessionsFormAction" 
value="injectSessions"/>
         <input type="hidden" name="sort" id="sessionsFormSort" value="<%= 
JspHelper.escapeXml(request.getAttribute("sort")) %>"/>


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

Reply via email to