additional change to cause crawlers to never get munged URLs, always get the
raw servlet URL
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user