mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
* 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@440160 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -129,9 +129,7 @@ static char *get_path_param(apr_pool_t *pool, char *url,
|
||||
++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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user