According to Logan Downing:
> I have set this line in my config:
> 
> remove_default_doc: index.php index.html
> 
> Should therefore htdig "know" that the following two
> URL's are identical?
> 
> http://www.this.com/news/index.php?id=5
> http://www.this.com/news/?id=5
> 
> My suspicion is that htdig does not, and treats these
> two URL's as distinct--and unfortunately
> duplicative--items.
> 
> Is my suspicion correct? Is there a way around this
> dilemma besides adding "index.php" to the various
> links?

Your suspicion is correct.  For whatever reason, in both the 3.1 and 3.2
code bases, the part in URL.cc that handles remove_default_doc will not
strip off anything if the URL has a query string in it (i.e. a "?").
This code should probably be fixed at some point.

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to