[ 
https://issues.apache.org/jira/browse/KNOX-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693385#comment-16693385
 ] 

Kevin Risden commented on KNOX-1616:
------------------------------------

So tracked down why this doesn't fail in the existing tests. It turns out that 
[http://localhost|http://localhost/] is rewritten to //localhost. There is a 
context check that looks for the 3rd slash and uses it. It turns out that 
//localhost works. In the case of a regular cluster with SSL/TLS. 
[https://localhost|https://localhost/] -> 
[https://localhost|https://localhost/] and so the context ends up getting 
https: on the end which causes the failure. The root cause is the baseURI is 
being handled incorrectly. The moral of the story is that http vs https is 
handled differently. We should ensure that our tests handle both http and https 
correctly.

> Fix portmapping with Jetty 9.4
> ------------------------------
>
>                 Key: KNOX-1616
>                 URL: https://issues.apache.org/jira/browse/KNOX-1616
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Blocker
>             Fix For: 1.2.0
>
>         Attachments: KNOX-1616.patch
>
>
> There is an issue where the request context is rewritten incorrectly with 
> Jetty 9.4.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to