Repository: knox Updated Branches: refs/heads/master db5080072 -> 6f308e524
KNOX-1356 - Fix X-Forwarded-Context header (Marco Gaido via Sandeep More) Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/6f308e52 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/6f308e52 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/6f308e52 Branch: refs/heads/master Commit: 6f308e524df7a49a2f2f7c28459ba1a70bc451db Parents: db50800 Author: Sandeep More <m...@apache.org> Authored: Wed Jun 13 11:49:05 2018 -0400 Committer: Sandeep More <m...@apache.org> Committed: Wed Jun 13 11:49:05 2018 -0400 ---------------------------------------------------------------------- .../src/main/resources/services/sparkhistoryui/1.4.0/service.xml | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/6f308e52/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/service.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/service.xml b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/service.xml index aa370a1..c1972f3 100644 --- a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/service.xml +++ b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/service.xml @@ -34,12 +34,15 @@ </route> <route path="/sparkhistory/history/**?**"> <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers" to="response.headers"/> + <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/> </route> <route path="/sparkhistory/history/**/?**"> <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers/jobs" to="response.headers"/> + <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/> </route> <route path="/sparkhistory/history/**/jobs/**?**"> <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers/jobs" to="response.headers"/> + <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/> </route> </routes> </service>