From: Rich Bowen
Date: Tue, 29 Dec 2009 03:41:58 +0000 (+0000)
Subject: Adds a clarification to the AddDescription docs, to address the
X-Git-Tag: 2.3.5~54
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd2d2be31cc0c1c4b43408e86f83f1e65c0a685a;p=thirdparty%2Fapache%2Fhttpd.git
Adds a clarification to the AddDescription docs, to address the
confusion indicated in https://issues.apache.org/bugzilla/show_bug.cgi?id=17210
The problem described there is fixed by a reordering of the
AddDescription directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894306 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_autoindex.html.en b/docs/manual/mod/mod_autoindex.html.en
index 17f12bd8ea9..eb1468c256f 100644
--- a/docs/manual/mod/mod_autoindex.html.en
+++ b/docs/manual/mod/mod_autoindex.html.en
@@ -303,6 +303,15 @@ icon selected by MIME content-type
Therefore, the widest default the description column is ever
assigned is 55 bytes.
+ Since the File argument may be a partial file name,
+ please remember that a too-short partial filename may match
+ unintended files. For example, le.html will match the
+ file le.html but will also match the file
+ example.html. In the event that there may be ambiguity,
+ use as complete a filename as you can, but keep in mind that the
+ first match encountered will be used, and order your list of
+ AddDescription directives accordingly.
+
See the DescriptionWidth IndexOptions keyword for details on overriding the size
of this column, or allowing descriptions of unlimited length.
diff --git a/docs/manual/mod/mod_autoindex.xml b/docs/manual/mod/mod_autoindex.xml
index 483eb695b72..7564184e6e2 100644
--- a/docs/manual/mod/mod_autoindex.xml
+++ b/docs/manual/mod/mod_autoindex.xml
@@ -293,6 +293,15 @@ icon selected by MIME content-type
Therefore, the widest default the description column is ever
assigned is 55 bytes.
+ Since the File argument may be a partial file name,
+ please remember that a too-short partial filename may match
+ unintended files. For example, le.html will match the
+ file le.html but will also match the file
+ example.html. In the event that there may be ambiguity,
+ use as complete a filename as you can, but keep in mind that the
+ first match encountered will be used, and order your list of
+ AddDescription directives accordingly.
+
See the DescriptionWidth IndexOptions keyword for details on overriding the size