tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46131] for a root context getContextPath returns "/" after a forward
Date Wed, 05 Nov 2008 09:41:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46131





--- Comment #5 from Denny Strietzbaum <denny.strietzbaum@hybris.de>  2008-11-05 01:41:00
PST ---
(In reply to comment #4)
> A path setting of "/" is invalid

I know that as i already said this setting is not correct (but it's clear what
is meant).
I don't want discussions about specifications.
Specifications must be kept and when they aren't an error or warning should be
thrown.
It's easy to detected "/" as an invalid value and it's even easy to correct
this value automatically.

My motivation simply is that i wasn't responsible for that setting as our
server.xml gets generated by a build process which i haven't written.
I wouldn't have had lost so much time when Tomcat would let me know that
there's a problem with it's configuration.

On the other side that incorrect setting works (as getContextPath returns "")
as long is i don't do any forwards.
You can't say that this is a consistently behavior.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message