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 2004/07/23 10:50:33 UTC
DO NOT REPLY [Bug 30287] New: -
Doesn't support relative URLs
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=30287>.
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=30287
Doesn't support relative URLs
Summary: Doesn't support relative URLs
Product: Tomcat 5
Version: 5.0.25
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:Coyote
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: kumphol@s-onetelecom.com
org.apache.coyote.tomcat5.CoyoteResponse.sendRedirect(String location)
This method doesn't normalize url location to absolute url. This may clause the
problem on phone browser that not support relative url.
Example:
<%
response.sendRedirect("../login.jsp");
%>
HTTP/1.1 302 Moved Temporarily
Set-Cookie: JSESSIONID=F2CCA24F97C6990CB96354EE4DC398BD; Path=/wap
Location: http://myserver:8080/wap/../login.jsp
Content-Type: text/html
Content-Length: 0
Date: Tue, 20 Jul 2004 11:48:20 GMT
Server: Apache-Coyote/1.1
Connection: close
The phone browser doesn't support url like this
http://myserver:8080/wap/../login.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org