This is an automated email from the ASF dual-hosted git repository. ChristopherSchultz pushed a commit to branch use-posts-for-writes in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
commit 2278e761709de4678f5e5f74294ccc5cefbb3db3 Author: ChristopherSchultz <[email protected]> AuthorDate: Tue Oct 20 16:21:12 2026 +0000 Change <form> methods from GET to POST --- native/common/jk_status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/native/common/jk_status.c b/native/common/jk_status.c index be47871af..36238847a 100644 --- a/native/common/jk_status.c +++ b/native/common/jk_status.c @@ -2967,7 +2967,7 @@ static void form_worker(jk_ws_service_t *s, jk_putv(s, "<hr/><h3>Edit load balancer settings for ", name, "</h3>\n", NULL); - status_start_form(s, p, "get", JK_STATUS_CMD_UPDATE, NULL, l); + status_start_form(s, p, "post", JK_STATUS_CMD_UPDATE, NULL, l); jk_putv(s, "<table>\n<tr><td>", JK_STATUS_ARG_LB_TEXT_RETRIES, ":</td><td><input name=\"", @@ -3071,7 +3071,7 @@ static void form_member(jk_ws_service_t *s, jk_putv(s, "<hr/><h3>Edit worker settings for ", wr? wr->name : aw->name, "</h3>\n", NULL); - status_start_form(s, p, "get", JK_STATUS_CMD_UPDATE, NULL, l); + status_start_form(s, p, "post", JK_STATUS_CMD_UPDATE, NULL, l); if (wr) { jk_puts(s, "<table><tbody valign=\"baseline\"><tr><th>Balancing related settings</th>\n"); @@ -3275,7 +3275,7 @@ static void form_all_members(jk_ws_service_t *s, "' for all members of load balancer ", name, "</h3>\n", NULL); - status_start_form(s, p, "get", JK_STATUS_CMD_UPDATE, NULL, l); + status_start_form(s, p, "post", JK_STATUS_CMD_UPDATE, NULL, l); jk_putv(s, "<table><tr>" "<th>Balanced Worker</th><th>", aname, "</th>" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
