httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34844] - Mod_proxy_balancer session state not working
Date Sat, 15 Oct 2005 19:30:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34844>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34844





------- Additional Comments From rpluem@apache.org  2005-10-15 21:30 -------
(In reply to comment #1)
> 
> The <sessionid> was logged as "%2EW1" and not ".W1", though.  It seems as if
> mod_proxy_balancer.c checks against '.', but doesn't URL decode the string
> first (if it had, it shouldn't have logged it encoded):

I am currently unsure if it is ok to expect that the '.' in the sessioncookie
that separates sessionid and route can be URL encoded. So lets see the opinion
of other developers on this topic. I tend to say: No.
Nevertheless, if it is found ok to be URL encoded, I think the following patch
would be better:

Index: modules/proxy/mod_proxy_balancer.c
===================================================================
--- modules/proxy/mod_proxy_balancer.c  (Revision 320868)
+++ modules/proxy/mod_proxy_balancer.c  (Arbeitskopie)
@@ -158,6 +158,7 @@
                         *end_cookie = '\0';
                     if((end_cookie = strchr(cookie, ',')) != NULL)
                         *end_cookie = '\0';
+                    ap_unescape_url_keep2f(cookie);
                     return cookie;
                 }
             }



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message