additional change to cause crawlers to never get munged URLs, always get the

raw servlet URL
This commit is contained in:
Eric J. Bowersox
2004-11-06 02:20:58 +00:00
parent 2b12c944d9
commit 17c12459a5
4 changed files with 53 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ if (binfo.hasCapability("crawler") || binfo.hasCapability("stripper"))
logger.debug("this session is a crawler, it will be killed");
sess.setMaxInactiveInterval(30);
// don't encode any servlet paths we send
rinput.setSpecial("No-Session-Encode","true");
// the session will be killed at the end of the request anyway
rinput.registerCleanup(new SessionKiller(sess));