According to Jamie Anstice:
> This prevents URL rewriting on redirects.  It just needs a url.rewrite(); 
> put in after the new url is constructed.

Yes, you're right, got_redirect() is missing an url.rewrite() in the
3.2.0b4 code.  I addressed this in the 3.1.6 code, but right now the
3.2.0b4 development is lagging behind, and likely will until 3.1.6 is out.

There's another discrepancy between how 3.1.6 and 3.2.0b4 handle
url_rewrite_rules too.  In 3.1.6, it's done right after normalizing the
URL, whereas in 3.2.0b4 it's done right near the start of got_href(),
before the URL is checked for validity.  That means that limit_urls_to,
exclude_urls, bad_querystr, etc. will be checked before rewrites in
3.1.6, but after rewrites in 3.2.0b4.  We ought to try to be consistent,
shouldn't we?  So, which one should it be?  I favour the approach in
3.1.6, because it seems to make sense to tie rewriting and normalizing
together, but others may feel differently.  Comments?

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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to