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=8552>.
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=8552

malformed URL upon second redirect

           Summary: malformed URL upon second redirect
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A servlet redirects the request to itself using 
HttpServletResponse.sendRedirect and appends a parameter urlid.
If I send the URL http://localhost:8080/expose/servlet/Expose?
request=new&name=se.zenon.wine.redwineall:1 the response should be 
http://localhost:8080/expose/servlet/Expose?
request=new&name=se.zenon.wine.redwineall:1&urlid=1019816894375
however the aquired URL is 
http://localhost:8080/expose/servlet/expose?
request=new&name=se.zenon.wine.redwineall:?
request=new&name=se.zenon.wine.redwineall:1&urlid=1019816894375

Note that this is two errors. The smaller error is that Expose is turned into 
expose. This is easily fixed using a servlet-mapping.
The bigger problem is that the : makes catalina sabotage the URL entirely.

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

Reply via email to