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

Attila Csoma reassigned KNOX-1295:
----------------------------------

    Assignee: Attila Csoma

> X-Forwarded-Context contains not the full base path in SHS request
> ------------------------------------------------------------------
>
>                 Key: KNOX-1295
>                 URL: https://issues.apache.org/jira/browse/KNOX-1295
>             Project: Apache Knox
>          Issue Type: Improvement
>    Affects Versions: 0.14.0
>            Reporter: Marco Gaido
>            Assignee: Attila Csoma
>            Priority: Major
>             Fix For: 1.1.0
>
>         Attachments: KNOX-1295.patch
>
>
> Knox can send the base path which may be useful for the proxied application 
> in order to determine the proxy base URL and build the URLs accordingly. This 
> may be useful in Spark History Server which may use this to determine the 
> proxy base URL, instead of relying on an internal config (which prevents SHS 
> to be consumed through direct URL anymore).
> The problem is that Knox currently in the {{X-Forwarded-Context}} doesn't 
> send the full base path, but only the first part of it, eg. it sends 
> {{X-Forwarded-Context: gateway/default}} instead of {{X-Forwarded-Context: 
> gateway/default/sparkhistoryui}}.



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

Reply via email to