According to S. Hayles:
> remove_default_doc seems to match any file name containing any of the
> given patterns (eg remove_default_doc: index.html will match
> not_the_index.html). Should it not be exact matches only?

Yes, this is a known bug, which is fixed in the 3.2 development source
tree.  Here's the patch:

--- htlib/URL.cc.orig   Wed Apr 21 21:47:58 1999
+++ htlib/URL.cc        Fri Jun 11 12:24:40 1999
@@ -440,7 +440,7 @@ void URL::removeIndex(String &path)
       l.Release();
     }
     if (defaultdoc->hasPattern() &&
-            defaultdoc->FindFirstWord(path.sub(filename)) >= 0)
+            defaultdoc->CompareWord(path.sub(filename)))
        path.chop(path.length() - filename);
 }
 

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to