]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
ap_location_walk/ap_directory_walk: copy the cached uri/filename.
authorYann Ylavic <ylavic@apache.org>
Tue, 23 Jun 2020 11:27:48 +0000 (11:27 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 23 Jun 2020 11:27:48 +0000 (11:27 +0000)
commit8d073ced2386f0f913c7b147796b0bda46740e3b
treeb2a8dd74a787df21f68113901d2f1751753a75c5
parentdc0ef58f03c4c4fb936ca6f213e7a0276a7594fe
ap_location_walk/ap_directory_walk: copy the cached uri/filename.

Any in-place modification of r->uri of r->filename shouldn't affect the cache.

For instance, ap_process_request_internal() normalizes r->uri in place and yet
calls ap_location_walk() multiple times, which confuses caching.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879114 13f79535-47bb-0310-9956-ffa450edef68
server/request.c