From: Jim Jagielski Date: Mon, 18 Aug 2008 16:10:41 +0000 (+0000) Subject: Remove trailing path element, ala ./jk/native/common/jk_lb_worker.c, X-Git-Tag: 2.3.0~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8e4bba70a5f683566562face6e0d6df47385c4;p=thirdparty%2Fapache%2Fhttpd.git Remove trailing path element, ala ./jk/native/common/jk_lb_worker.c, but use apr_strtok niceness. PR: 45158 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@686809 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index a03650764d4..31bec23255d 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -141,7 +141,7 @@ static char *get_path_param(apr_pool_t *pool, char *url, ++path; if (strlen(path)) { char *q; - path = apr_strtok(apr_pstrdup(pool, path), "?&", &q); + path = apr_strtok(apr_pstrdup(pool, path), ";?&", &q); return path; } }