diff options
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> |