summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2005-12-03 20:17:11 +0000
committerRuediger Pluem <rpluem@apache.org>2005-12-03 20:17:11 +0000
commite7086045557dfd6292ba4fe50ff48cae36de858c (patch)
treed24e23aac813a2b02f2ce68b3557c602cc647704
parentf79a00580576372dca63cf83e8b556034fd340ba (diff)
downloadhttpd-e7086045557dfd6292ba4fe50ff48cae36de858c.tar.gz
* Fix PR37753. Off by one bug in get_path_param eats up too much of the string
such that session identifier for sticky sessions is never found in URL. Submitted by: Kazuhiro Osawa <ko yappo.ne.jp> Reviewed by: Ruediger Pluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@352010 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--CHANGES3
-rw-r--r--modules/proxy/mod_proxy_balancer.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 06c597bc25..3fec516c17 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_proxy_balancer: Sticky session identifiers supplied in URL do not work.
+ PR37753. [Ruediger Pluem, Kazuhiro Osawa <ko yappo.ne.jp>]
+
*) mod_authz_dbd: SQL authz with Login/Session support [Nick Kew]
*) Fix typo in ProxyStatus syntax error message.
diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c
index 988508adf3..def1919254 100644
--- a/modules/proxy/mod_proxy_balancer.c
+++ b/modules/proxy/mod_proxy_balancer.c
@@ -113,7 +113,7 @@ static char *get_path_param(apr_pool_t *pool, char *url,
char *path = NULL;
for (path = strstr(url, name); path; path = strstr(path + 1, name)) {
- path += (strlen(name) + 1);
+ path += strlen(name);
if (*path == '=') {
/*
* Session path was found, get it's value