summaryrefslogtreecommitdiffstats
path: root/server/request.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-07-12 17:41:42 +0200
committerYann Ylavic <ylavic@apache.org>2024-07-12 17:41:42 +0200
commit00eeea913756cd539f663c31f943f3167fe56ae8 (patch)
treef31364166428e39e3c39f3d40771c003e2855f95 /server/request.c
parentmod_status: "Threads" span three colomns (busy, graceful, idle), not two. (diff)
downloadapache2-00eeea913756cd539f663c31f943f3167fe56ae8.tar.xz
apache2-00eeea913756cd539f663c31f943f3167fe56ae8.zip
core: ap_location_walk() does not deal with the filesystem
So it shouldn't merge slashes according to filesystem rules. * server/request.c(ap_location_walk): Use ap_no2slash_ex(,0) instead of ap_no2slash() to ignore filesystem specifics. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/request.c b/server/request.c
index 54f656ac72..791d1cea6b 100644
--- a/server/request.c
+++ b/server/request.c
@@ -1500,7 +1500,7 @@ AP_DECLARE(int) ap_location_walk(request_rec *r)
}
else {
char *uri = apr_pstrdup(r->pool, r->uri);
- ap_no2slash(uri);
+ ap_no2slash_ex(uri, 0/*not an FS path*/);
entry_uri = uri;
}