tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: DO NOT REPLY [Bug 39503] - getContextPath() returns a decoded string contrary to the servlet spec
Date Mon, 08 May 2006 16:45:51 GMT
Yoav Shapira wrote:
> Hola,
> 
> On 5/8/06, Remy Maucherat <remm@apache.org> wrote:
>> Obviously, this post was written in bad faith, and was not attempting to
>> be constructive in any way. You know, Darryl is one of these Bugzilla
>> users that I've had bad interactions with, so I think he merely wants to
>> create problems :)
> 
> Yeah, I noted that and mostly agree with you (Remy) observations.  I
> also agree with not changing Tomcat's code on this point.  But
> generally speaking, I don't mind documenting a difference between our
> implementation and the relevant specification, if only to be able to
> RTFM people who bring up this issue.

I agree with that, but there is no need to get on a big administrative 
hoopla making it sound like it's critical (it's very similar to the 
getId problem - which got resolved, but only in 2.5 -, the welcome file 
problem - which did not get officially resolved -, etc). This AFAIK has 
been implemented like that since at least 4.0, most likely because it is 
very similar to the servlet path and path info fields. The specification 
handles these encoding issues a bit randomly (especially when looking at 
the same methods in the request dispatcher) while it is fairly important.

Rémy

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


Mime
View raw message