cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Ulrich Niedermann <n...@n-dimensional.de>
Subject [C2 Patch] Requesting /cocoon causes StringIndexOutOfBoundsException
Date Sat, 28 Oct 2000 20:46:28 GMT
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.

Uli


Mime
View raw message