From: Jim Jagielski Date: Wed, 15 Jan 2025 12:03:59 +0000 (+0000) Subject: *) Do not add a space before '|' when setting the value for stickysession in the X-Git-Tag: 2.4.63-candidate~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c5aef865dd4dfcce6606cf5a4fba1e815adb0f;p=thirdparty%2Fapache%2Fhttpd.git *) Do not add a space before '|' when setting the value for stickysession in the balancer manager as this breaks the stickysession configuration once a new configuration is submitted by the balancer manager. PR: 69510 trunk patch: https://svn.apache.org/r1923101 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1923145 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 6440516b583..7df0a3715f8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.4.63 + *) mod_proxy_balancer: Fix the handling of the stickysession configuration + parameter by the balancer manager. PR 69510 + [Yutaka Tokunou ] + *) Add the ldap-search option to mod_authnz_ldap, allowing authorization to be based on arbitrary expressions that do not include the username. Make sure that when ldap searches are too long, we explicitly log the diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index 79cb8bbcca7..140366e6d52 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -1669,7 +1669,7 @@ static void balancer_display_page(request_rec *r, proxy_server_conf *conf, balancer->max_workers - (int)storage->num_free_slots(balancer->wslot)); if (*balancer->s->sticky) { if (strcmp(balancer->s->sticky, balancer->s->sticky_path)) { - ap_rvputs(r, "", ap_escape_html(r->pool, balancer->s->sticky), " | ", + ap_rvputs(r, "", ap_escape_html(r->pool, balancer->s->sticky), "|", ap_escape_html(r->pool, balancer->s->sticky_path), NULL); } else { @@ -1854,7 +1854,7 @@ static void balancer_display_page(request_rec *r, proxy_server_conf *conf, ap_rputs("\n", r); ap_rputs("Sticky Session:s->sticky, bsel->s->sticky_path)) { - ap_rvputs(r, "value =\"", ap_escape_html(r->pool, bsel->s->sticky), " | ", + ap_rvputs(r, "value =\"", ap_escape_html(r->pool, bsel->s->sticky), "|", ap_escape_html(r->pool, bsel->s->sticky_path), NULL); } else {