Re: HttpServletResponse.encodeURL is broken for relative URLs

2000-11-05 Thread Colin Evans
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 04, 2000 7:21 PM Subject: Re: HttpServletResponse.encodeURL is broken for relative URLs > Colin Evans wrote: > > > Hi, it appears that HttpServletResponse.encodeURL refuses to add a > > JSESSIONID to relative

Re: HttpServletResponse.encodeURL is broken for relative URLs

2000-11-04 Thread Hans Bergsten
"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

Re: HttpServletResponse.encodeURL is broken for relative URLs

2000-11-04 Thread Craig R. McClanahan
Colin Evans wrote: > Hi, it appears that HttpServletResponse.encodeURL refuses to add a > JSESSIONID to relative URLs for Tomcat 3.1 and 3.2b6. I looked at the code, > and it appears that HttpServletResponseFacade.isEncodeable() always returns > false on URL strings that are not fully qualified,

HttpServletResponse.encodeURL is broken for relative URLs

2000-11-04 Thread Colin Evans
Hi, it appears that HttpServletResponse.encodeURL refuses to add a JSESSIONID to relative URLs for Tomcat 3.1 and 3.2b6. I looked at the code, and it appears that HttpServletResponseFacade.isEncodeable() always returns false on URL strings that are not fully qualified, and this causes encodeURL t