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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 58640843c0 HTTP methods should be upper case
58640843c0 is described below

commit 58640843c0e24e0270f07d6ad5462065542b0cf5
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 2341fa58bb..bf27b00274 100644
--- a/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
@@ -101,7 +101,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" />
@@ -148,7 +148,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 %>" />
@@ -174,7 +174,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 45ce17c320..d45a4e77ff 100644
--- a/webapps/manager/WEB-INF/jsp/sessionsList.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
@@ -59,7 +59,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