mod_isapi: use consistent filename
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1901505 13f79535-47bb-0310-9956-
ffa450edef68
return 0;
}
- len = (apr_uint32_t)strlen(r->filename);
+ len = (apr_uint32_t)strlen(subreq->filename);
if ((subreq->finfo.filetype == APR_DIR)
&& (!subreq->path_info)
- && (file[len - 1] != '/'))
+ && (subreq->filename[len - 1] != '/'))
file = apr_pstrcat(cid->r->pool, subreq->filename, "/", NULL);
else
file = apr_pstrcat(cid->r->pool, subreq->filename,