cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Burton <>
Subject Re: [C2 Patch] Requesting /cocoon causes StringIndexOutOfBoundsException
Date Mon, 30 Oct 2000 20:12:31 GMT
On 28 Oct 2000, Hans Ulrich Niedermann wrote:

> when http://localhost:8080/cocoon/ is requested, the match="" rule in
> the sitemap handles this. However, the sitemap offers no semantics to
> tell C2 what to do when http://localhost:8080/cocoon (note  the
> missing trailing slash) is requested. 
> So I think the most reasonable thing to do is to send a HTTP redirect
> with a trailing slash. Patch is attached, in case one of the
> committers also considers this behaviour reasonable.

I actually thought that this was a Tomcat 4 bug, as with Tomcat 3.2
requesting localhost:8080/cocoon resulted in the path "/" being given to 
Cocoon.  IMHO that is the correct behavior - what does everybody else

Ross Burton

View raw message