]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Good catch by Yann: This is dead code
authorRuediger Pluem <rpluem@apache.org>
Fri, 8 Oct 2021 16:34:01 +0000 (16:34 +0000)
committerRuediger Pluem <rpluem@apache.org>
Fri, 8 Oct 2021 16:34:01 +0000 (16:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894034 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_alias.c

index f14d6cb6f3eab1d33bc8fdc13a5723515e3e7fb8..e652d3c100bda16da7477e3dce1bc03af7efe7b6 100644 (file)
@@ -556,9 +556,6 @@ static char *try_alias_list(request_rec *r, apr_array_header_t *aliases,
 
                     found = apr_pstrcat(r->pool, alias->real, escurl, NULL);
                 }
-                else if (is_redir) {
-                    found = apr_pstrcat(r->pool, alias->real, r->uri + l, NULL);
-                }
                 else {
                     apr_status_t rv;
                     char *fake = r->uri + l;