[
https://issues.apache.org/jira/browse/KNOX-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467428#comment-16467428
]
ASF subversion and git services commented on KNOX-1295:
-------------------------------------------------------
Commit c7477c12ffc7aadc0a89c11da36104cdacdd92fb in knox's branch
refs/heads/master from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=c7477c1 ]
KNOX-1295 - X-Forwarded-Context contains not the full base path in SHS request
(Atilla Csoma and Marco Gaido via lmccay)
> 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)