tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: HttpServletResponse.encodeURL is broken for relative URLs
Date Sun, 05 Nov 2000 03:34:09 GMT
"Craig R. McClanahan" wrote:
> [...]
> It is not supposed to ignore them -- it is supposed to convert them to absolute
> and then add the path parameter if:
> - The host and port of the absolute URL
>   matches the original request
> - The context path of the absolute URL
>   matches the original request
>   (i.e. the URL points back at this app)
> 
> I will take a look - but in the past, this has seemed to work correctly.

I just looked at the source used in Beta 6, and it appears to work as
it should. That's also my experience from running Beta 6.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com

Mime
View raw message