felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Sanso (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4657) HTTP SSLFilter wrong port
Date Mon, 29 Sep 2014 13:05:35 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antonio Sanso updated FELIX-4657:
---------------------------------
    Attachment: FELIX-4657-patch.txt

attaching proposed simple patch and unit test

> 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
>         Attachments: FELIX-4657-patch.txt
>
>
> 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)

Mime
View raw message