diff options
author | Eric Covener <covener@apache.org> | 2024-07-15 14:05:57 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2024-07-15 14:05:57 +0200 |
commit | b1560d34a37681ebc18baa78588579ed87f9da70 (patch) | |
tree | 9c2871091cf8aca076edc90632deb3997ca9ef7d /docs | |
parent | core: ap_location_walk() does not deal with the filesystem (diff) | |
download | apache2-b1560d34a37681ebc18baa78588579ed87f9da70.tar.xz apache2-b1560d34a37681ebc18baa78588579ed87f9da70.zip |
merge leading slashes by default
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/mod/mod_rewrite.xml | 7 | ||||
-rw-r--r-- | docs/manual/rewrite/flags.xml | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index fd55811347..0cfc2f42ec 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1508,6 +1508,13 @@ cannot use <code>$N</code> in the substitution string! <em><a href="../rewrite/flags.html#flag_unsafe_prefix_stat">details ...</a></em> </td> </tr> + <tr> + <td>UNC</td> + <td>Prevents the merging of multiple leading slashes, as used by Windows UNC paths. + <em><a href="../rewrite/flags.html#flag_unc">details ...</a></em> + </td> + </tr> + </table> <note><title>Home directory expansion</title> diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index 59eb4cd0c9..0b9ccfa9a8 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -866,6 +866,10 @@ The <code>L</code> flag can be useful in this context to end the This protects from a malicious URL causing the expanded substitution to map to an unexpected filesystem location.</p> </section> - +<section id="flag_unc"><title>UNC</title> + <p> Setting this flag prevents the merging of multiple leading slashes, + as used in Windows UNC paths. The flag is not necessary when the rules + substitution starts with multiple literal slashes. </p> +</section> </manualpage> |