You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/04/03 03:05:15 UTC

DO NOT REPLY [Bug 7700] New: - [PATCH] Anchors don't work when session tracking is handled by URL rewrite

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

           Summary: [PATCH] Anchors don't work when session tracking is
                    handled by URL rewrite
           Product: Tomcat 4
           Version: Nightly Build
          Platform: All
               URL: http://www.kare.uklinux.net/pub/tomcat-
                    HttpResponseBase.patch
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:HTTP/1.1 (deprecated)
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kare@kare.uklinux.net


When tomcat executes HttpServletRequest.encodeURL(String) it appends query
arguments before the URI anchor element. 
for example:
/foo.do;jsessionid=xxxxxx#anchor?args=val
it should be
/foo.do;jsessionid=xxxxxxx?args=val#anchor
Referenced patch also removes deprecated HttpUtils code and replaces it with
other Servlet API functionality. Patch also removes unnecessary imports and
cleans up the code a bit.
http://www.kare.uklinux.net/pub/tomcat-HttpResponseBase.patch

Cheers,
kare@kare.uklinux.net

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>