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
This commit is contained in:
Yann Ylavic
2024-07-12 15:41:42 +00:00
parent 0afe939c9d
commit 00eeea9137

View File

@ -1500,7 +1500,7 @@ AP_DECLARE(int) ap_location_walk(request_rec *r)
} }
else { else {
char *uri = apr_pstrdup(r->pool, r->uri); char *uri = apr_pstrdup(r->pool, r->uri);
ap_no2slash(uri); ap_no2slash_ex(uri, 0/*not an FS path*/);
entry_uri = uri; entry_uri = uri;
} }