DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42531>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42531

           Summary: HttpServletResponse.encodeURL() handles certain URLs
                    with _ (undersocre) incorrectly
           Product: Tomcat 6
           Version: 6.0.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Here is the URL I am encoding:

http://localhost/og/px/to/wap2.time4live.com/wml-v2-acte-
photossports/pos_wml_init?
action=authorize&pid=photossports&com=see1ogdogafrW11544650pap1029&session=LGBY
4Ck&Toga=1180342155463&serv=OPhotosSports

In Tomcat 6 I get incorrectly:
http://localhost/og/px/to/wap2.time4live.com/wml-v2-acte-
photossports/pos&;jsessionid=06B19AD6320471AED6260175497CA708.tomcat2#095;wml_i
nit?
action=authorize&pid=photossports&com=see1ogdogafrW11544650pap1029&session=LGBY
4Ck&Toga=1180342033671&serv=OPhotosSports

It appears to be firstly encoding the first _ in pos_wml_init as &#095; and 
then taking the # as the location of a name anchor and placing the ;jsessionid 
before this.

In Tomcat 5 it works correctly

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to