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 10233] New: - https relative redirect thinks it's http
Date Wed, 26 Jun 2002 00:14:06 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=10233>.
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=10233

https relative redirect thinks it's http

           Summary: https relative redirect thinks it's http
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rnice@fraudscrub.com


1. Call a servlet URL such as: https://secure.fraudscrub.com/frame
2. Servlet does a relative redirect to /test which fails
 because HttpUtils.getRequestURL(req).toString() gives:

http://secure.fraudscrub.com:443/test

in the toAbsolute method in the Catalina HttpResponseBase class. Not sure if
the connector reports the URL incorrectly or what??!?

One can work around this by inventing an absolute redirect scheme but this can 
be inconvenient when one has many sites aimed at the same servlets.

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