mod_dav_svn changing the request filename - interaction with mod_rewrite
From: Thomas Åkesson <thomas.akesson_at_simonsoft.se>
Date: Wed, 11 Dec 2013 14:18:28 +0100
Hi,
Use case:
Example:
This page might be served by PHP or other script which is located elsewhere on the server (say /details/index.php). By using a rewrite with PT flag this page can be displayed without redirecting to a separate URL. It was possible before 1.8.3.
- In 1.8.1 works.
The PT flag sends the rewritten URI back through URL mapping. For some reason, the recently introduced hook dav_svn__translate_name is executed despite the rewritten URL being outside of the /svn Location. Consequently the request filename field is modified by mod_dav_svn.
My best guess is that the sequence becomes:
I did some searching in dev-list for discussions on these changes, but I didn't find much. Any recommended reading?
Perhaps the translate_name hook needs to decline in some additional situations, e.g. when the requested path is actually no longer going to be served by mod_dav_svn.
We have failed to find a workaround for this issue so it is a blocker for us to upgrade our production servers beyond 1.8.1.
Thanks in advance,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.