Commit 98c17309 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

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
parent 5d047caa
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/proxy/mod_proxy_balancer.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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;
            }
        }