summaryrefslogtreecommitdiffstats
path: root/modules/arch
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2022-06-01 14:37:44 +0200
committerEric Covener <covener@apache.org>2022-06-01 14:37:44 +0200
commit258698607821acfda8f90d9d17e44d18c30f8d77 (patch)
tree725e88b5fa23d10a2e9843a05c5b0d40b92c7d96 /modules/arch
parentuse filters consistently (diff)
downloadapache2-258698607821acfda8f90d9d17e44d18c30f8d77.tar.xz
apache2-258698607821acfda8f90d9d17e44d18c30f8d77.zip
mod_isapi: use consistent filename
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901504 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch')
-rw-r--r--modules/arch/win32/mod_isapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c
index 5592a5744e..a9816e5c0d 100644
--- a/modules/arch/win32/mod_isapi.c
+++ b/modules/arch/win32/mod_isapi.c
@@ -976,11 +976,11 @@ static int APR_THREAD_FUNC regfnServerSupportFunction(isapi_cid *cid,
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,