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 8205] - request.getPort() returns wrong port after redirect
Date Wed, 17 Apr 2002 16:53:21 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=8205>.
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=8205

request.getPort() returns wrong port after redirect

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From remm@apache.org  2002-04-17 16:53 -------
Very interesting ! It is a bug in IE (I assume you're using IE). With Mozilla,
it works fine.
The problem is that the host header sent by IE is incorrect when doing the
redirect to ReceiveAndSendRedirect.jsp (it is Host: 127.0.0.1:81, although it
should be Host: 127.0.0.1:82). "Fixing" it (by using our socket's port, for
example) violates the HTTP spec, and creates lots of other problems.

--
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