You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2018/06/08 12:26:00 UTC

[jira] [Resolved] (KNOX-1347) X-Forwarded-Context header is not rewritten correctly

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

Larry McCay resolved KNOX-1347.
-------------------------------
    Resolution: Fixed

[~mgaido] - I have just committed this to master and it will be available in the upcoming 1.1.0 release. Thank you for this contribution to Apache Knox!

> X-Forwarded-Context header is not rewritten correctly
> -----------------------------------------------------
>
>                 Key: KNOX-1347
>                 URL: https://issues.apache.org/jira/browse/KNOX-1347
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Marco Gaido
>            Assignee: Marco Gaido
>            Priority: Major
>             Fix For: 1.1.0
>
>         Attachments: KNOX-1347.patch
>
>
> In KNOX-1295 a rewrite rule for properly having the X-Forwarded-Context full path was introduced. Unfortunately, there are 2 problems with the current rewrite rule:
>  - It should add {{sparkhistory}}, but instead it adds {{sparkhistoryui}};
>  - It trims the leading {{/}}, so {{/gateway/default}} becomes {{gateway/default/sparkhistoryui}};



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