Repository: knox Updated Branches: refs/heads/master 611569d12 -> af682ac82
KNOX-1347 - X-Forwarded-Context header is not rewritten correctly Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/af682ac8 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/af682ac8 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/af682ac8 Branch: refs/heads/master Commit: af682ac82cd46e8c28a2c38d4aed7bb5af2fb60d Parents: 611569d Author: Larry McCay <[email protected]> Authored: Fri Jun 8 08:20:34 2018 -0400 Committer: Larry McCay <[email protected]> Committed: Fri Jun 8 08:20:34 2018 -0400 ---------------------------------------------------------------------- .../src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/af682ac8/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml index b5df3c9..f5480f0 100644 --- a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml +++ b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/rewrite.xml @@ -114,7 +114,7 @@ </rule> <rule dir="IN" name="SPARKHISTORYUI/sparkhistory/outbound/rqheaders/xfc"> <match pattern="{**}"/> - <rewrite template="{**}/sparkhistoryui" /> + <rewrite template="/{**}/sparkhistory" /> </rule> <filter name="SPARKHISTORYUI/sparkhistory/outbound/headers">
