1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

* 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
This commit is contained in:
Ruediger Pluem
2005-12-03 20:17:11 +00:00
parent f79a005805
commit e708604555
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,9 @@
Changes with Apache 2.3.0 Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported] [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] *) mod_authz_dbd: SQL authz with Login/Session support [Nick Kew]
*) Fix typo in ProxyStatus syntax error message. *) Fix typo in ProxyStatus syntax error message.

View File

@@ -113,7 +113,7 @@ static char *get_path_param(apr_pool_t *pool, char *url,
char *path = NULL; char *path = NULL;
for (path = strstr(url, name); path; path = strstr(path + 1, name)) { for (path = strstr(url, name); path; path = strstr(path + 1, name)) {
path += (strlen(name) + 1); path += strlen(name);
if (*path == '=') { if (*path == '=') {
/* /*
* Session path was found, get it's value * Session path was found, get it's value