https://bz.apache.org/bugzilla/show_bug.cgi?id=69443
Ruediger Pluem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #7 from Ruediger Pluem <[email protected]> --- Can you please try if the below patch fixes your issue? Index: modules/proxy/mod_proxy_balancer.c =================================================================== --- modules/proxy/mod_proxy_balancer.c (revision 1924759) +++ modules/proxy/mod_proxy_balancer.c (working copy) @@ -276,11 +276,23 @@ char **url) { proxy_worker *worker = NULL; + char *url_with_qs; if (!*balancer->s->sticky) return NULL; + /* + * The route might be contained in the query string and *url is not + * supposed to contain the query string. Hence add it temporarily if + * present. + */ + if (r->args) { + url_with_qs = apr_pstrcat(r->pool, *url, "?", r->args, NULL); + } + else { + url_with_qs = *url; + } /* Try to find the sticky route inside url */ - *route = get_path_param(r->pool, *url, balancer->s->sticky_path, balancer->s->scolonsep); + *route = get_path_param(r->pool, url_with_qs, balancer->s->sticky_path, balancer->s->scolonsep); if (*route) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01159) "Found value %s for stickysession %s", -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
