You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2014/09/29 11:17:33 UTC

[jira] [Created] (FELIX-4657) HTTP SSLFilter wrong port

Antonio Sanso created FELIX-4657:
------------------------------------

             Summary: HTTP SSLFilter wrong port
                 Key: FELIX-4657
                 URL: https://issues.apache.org/jira/browse/FELIX-4657
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
            Reporter: Antonio Sanso



looking at [FELIX-3693] HTTP SSLFilter pecially at the SslFilterRequest it looks to me that the final Request object might end up having this weird behavior:

- request.getScheme() ==> https
- request.getServerPort() ==> 80

and possibly

- request.getRequestURL() ==> https://domain.80/active.html

IMHO having a scheme https with a port 80 might lead to some inconsistencies .

See also mailing list discussion in [0].

patch to follow

[0] http://www.mail-archive.com/dev@felix.apache.org/msg34344.html





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)