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 7700] - [PATCH] Anchors don't work when session tracking is handled by URL rewrite
Date Thu, 04 Apr 2002 22:07:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7700>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7700

[PATCH] Anchors don't work when session tracking is handled by URL rewrite

kare@kare.uklinux.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From kare@kare.uklinux.net  2002-04-04 22:07 -------
Maybe my summary is a bit misleading, but I think there is something wrong
with the implementation of HttpServletResponse.encodeURL(String) method.

Copy/Paste from o.a.c.connector.HttpResponseBase.toEncoded(String,String)
        sb.append(anchor);
        sb.append(query);
        return (sb.toString());
It appends the anchor before query string, which is against the RFC. This is
what the referenced patch fixes (among other things). It also affects
encodeRedirectURL method HttpServletResponse as both methods in both
implementations use the toEncoded method.

Same problems are introduced in the Coyote implementation of
HttpServletResponse 
Cheers,
kare@kare.uklinux.net

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


Mime
View raw message