You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2006/09/04 21:51:54 UTC
svn commit: r440160 - in /httpd/httpd/trunk: CHANGES
modules/proxy/mod_proxy_balancer.c
Author: rpluem
Date: Mon Sep 4 12:51:52 2006
New Revision: 440160
URL: http://svn.apache.org/viewvc?view=rev&rev=440160
Log:
* Extract stickysession information correctly in the case that it is given
as parameter like in the following example:
www.someplace.com/somewhere/?jsessionid=gggfgdufdfoef.server¶meter=value
So far we were only able to handle stickysession information encoded in the
following form:
www.someplace.com/somewhere/;jsessionid=gggfgdufdfoef.server?parameter=value
PR: 40400
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?view=diff&rev=440160&r1=440159&r2=440160
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Mon Sep 4 12:51:52 2006
@@ -2,6 +2,10 @@
Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_proxy_balancer: Extract stickysession routing information contained as
+ parameter in the URL correctly. PR 40400.
+ [Ruediger Pluem, Tomokazu Harada <harada sysrdc.ns-sol.co.jp>]
+
*) mod_ext_filter: Handle filter names which include capital letters.
PR 40323. [Jeff Trawick]
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?view=diff&rev=440160&r1=440159&r2=440160
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Mon Sep 4 12:51:52 2006
@@ -129,9 +129,7 @@
++path;
if (strlen(path)) {
char *q;
- path = apr_pstrdup(pool, path);
- if ((q = strchr(path, '?')))
- *q = '\0';
+ path = apr_strtok(apr_pstrdup(pool, path), "?&", &q);
return path;
}
}